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

@@ -36,11 +36,23 @@ dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
if (new File("$AGORA_RTC_SDK").exists()) {
/*if (new File("$AGORA_RTC_SDK").exists()) {
api fileTree(dir: "${AGORA_RTC_SDK}", include: ['*.jar', '*.aar'])
} else {
api "$AGORA_RTC_SDK"
}*/
if (rootProject.ext.manifestPlaceholders.isGooglePlay != 0) {
println("isGooglePlayyes " + rootProject.manifestPlaceholders.isGooglePlay)
println('应用市场安装包使用远程依赖声网SDK')
api "$AGORA_RTC_SDK"
} else {
println("isGooglePlay 链接包:>>> " + rootProject.ext.manifestPlaceholders.isGooglePlay)
println('链接包使用本地声网Jar + 下载SO')
api files('../libs/agora-rtc-sdk.jar')
}
api files('../libs/agora-rtc-sdk.jar')
api project(path: ':FaceUnity')
api project(path: ':common')
}