这几天遇到了需要接入原生sdk的需求,完全不懂。
对方提供了个arr文件,只能跟着文档去进行集成
在android studio上面调试是跑得了,但是想打包成uniapp插件的时候却失败了
无奈,安卓一点不懂,请各位巨佬指教一下
以下是制作自定义基座的错误信息
[PackagePath]/app/AndroidManifest.xml Error:
uses-sdk:minSdkVersion 19 cannot be smaller than version 21 declared in library [tosbsdk-release_1.0.1.aar] /home/[Name]/.gradle/caches/transforms-3/4a26b2c6259806c2f89b0db3a6eddfe5/transformed/jetified-tosbsdk-release_1.0.1/AndroidManifest.xml as the library might be using APIs not available in 19
Suggestion: use a compatible library with a minSdk of at most 19,
or increase this project's minSdk version to at least 21,
or use tools:overrideLibrary=\"com.khy.tosb.sdk\" to force usage (may lead to runtime failures)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processReleaseMainManifest'.
> Manifest merger failed with multiple errors, see logs
* Try:
> Run with --debug option to get more log output.
> Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:processReleaseMainManifest'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:145)
at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
II优选
正解
2023-08-25 09:40
9***@qq.com (作者)
感谢
2023-08-25 10:50