1、Google APP Bundle不需要配置,会自动分包,删除原来写的配置
2、删除几个多余的moudle文件 3、打链接包的时候,使用声网jar + 下载so的方式,不是链接包就使用声网远程依赖SDK
This commit is contained in:
@@ -74,10 +74,10 @@ android {
|
||||
exclude 'lib/armeabi-v7a/libfuai.so'
|
||||
exclude 'lib/arm64-v8a/libfuai.so'
|
||||
}
|
||||
exclude 'lib/armeabi-v7a/libagora-*.so'
|
||||
/* exclude 'lib/armeabi-v7a/libagora-*.so'
|
||||
exclude 'lib/arm64-v8a/libagora-*.so'
|
||||
exclude 'lib/x86/libagora-*.so'
|
||||
exclude 'lib/x86_64/libagora-*.so'
|
||||
exclude 'lib/x86_64/libagora-*.so'*/
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
@@ -86,22 +86,6 @@ android {
|
||||
buildFeatures {
|
||||
buildConfig = true
|
||||
}
|
||||
// Google APP Bundle打包配置
|
||||
bundle {
|
||||
density {
|
||||
// Different APKs are generated for devices with different screen densities; true by default.
|
||||
enableSplit rootProject.ext.manifestPlaceholders.isAppBundle
|
||||
}
|
||||
abi {
|
||||
// Different APKs are generated for devices with different CPU architectures; true by default.
|
||||
enableSplit rootProject.ext.manifestPlaceholders.isAppBundle
|
||||
}
|
||||
language {
|
||||
// This is disabled so that the App Bundle does NOT split the APK for each language.
|
||||
// We're gonna use the same APK for all languages.
|
||||
enableSplit rootProject.ext.manifestPlaceholders.isAppBundle
|
||||
}
|
||||
}
|
||||
|
||||
applicationVariants.all { variant ->
|
||||
println "清空build文件夹";
|
||||
|
||||
Reference in New Issue
Block a user