由 3.6.4.81503_20220926 版本升级至 3.98.81972_20231127
1、如果更新 uniapp-v8-release.aar,启动应用则会提示xxx 应用屡次停止运行
2、更新 lib.5plus.base-release.aar,离线打包安装之后,第一次能启动,杀死之后无法再次打开应用
以下为 build.gradle 配置:
import java.text.SimpleDateFormat
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
defaultConfig {
minSdkVersion 21
targetSdkVersion 29
multiDexEnabled true
ndk {
abiFilters 'armeabi', 'armeabi-v7a', 'arm64-v8a' //使用uniapp时必须同时选择二者或选其一
}
}
lintOptions {
checkReleaseBuilds false
abortOnError false
}
sourceSets{
main{
jniLibs.srcDirs = ['libs']
}
}
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
aaptOptions {
additionalParameters '--auto-add-overlay'
ignoreAssetsPattern "!.svn:!.git:.*:!CVS:!thumbs.db:!picasa.ini:!*.scc:*~"
}
}
repositories {
flatDir {
dirs 'libs'
}
}
dependencies {
implementation fileTree(include: ['*.jar', '*.aar'], exclude: ['android-support*.jar'], dir: 'libs')
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:2.0.4'
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'com.facebook.fresco:fresco:2.5.0'
implementation "com.facebook.fresco:animated-gif:2.5.0"
implementation 'com.alibaba:fastjson:1.1.46.android'
implementation 'androidx.webkit:webkit:1.3.0'
// 基座需要,必须添加
implementation 'com.github.bumptech.glide:glide:4.9.0'
implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:6.8.0'
}
0 个回复