1、Google APP Bundle不需要配置,会自动分包,删除原来写的配置

2、删除几个多余的moudle文件
3、打链接包的时候,使用声网jar + 下载so的方式,不是链接包就使用声网远程依赖SDK
This commit is contained in:
laopi
2024-09-02 15:39:30 +08:00
parent ca13774d87
commit 32257ce5a0
173 changed files with 15 additions and 44529 deletions

View File

@@ -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文件夹";