我用的是官网的UniPlugin-Hello-AS工程,跑通后,因为要导入第三方的sdk,导入后编译提示:
Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug'.
More than one file was found with OS independent path 'lib/arm64-v8a/libc++_shared.so'
于是我在app的build.gradle里加入这两行:
packagingOptions {
exclude 'lib/arm64-v8a/libc++_shared.so'
}
但是加上这句后,运行app会在加载页结束后进入白屏, 请问是什么原因呢。?
0 个回复