下载第三方jar和aar包,放在uni_modules下uts插件的app-android/libs目录下
然后config.json配置如下:
{
"abis": [
"arm64-v8a"
],
"dependencies": [
{
"id": "baselib-10.1.60a.1139",
"source": "implementation(name: 'baselib-10.1.60a.1139', ext: 'aar')"
}
],
"minSdkVersion": 21
}
提交打包基座报错:https://ide.dcloud.net.cn/build/errorLog/56116120-42f2-11ee-9223-316d0fc30a19
Appid: UNI9E3B00C
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: unexpected element (uri:\"\", local:\"base-extension\"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
FAILURE: Build failed with an exception.
-
What went wrong:
Execution failed for task ':uni_modules:LiJ-Mpaas:generateReleaseRFile'.Could not resolve all files for configuration ':uni_modules:LiJ-Mpaas:releaseCompileClasspath'.
Could not find :baselib-10.1.60a.1139:.
Required by:
project :uni_modules:LiJ-Mpaas
Could not find :scanexport-build-10.1.60a.1137:.
Required by:
project :uni_modules:LiJ-Mpaas
Could not find :mascanengine-build-10.1.60a.1099:.
Required by:
project :uni_modules:LiJ-Mpaas
Could not find :logging-build-10.1.60a.1137.23:.
Required by:
project :uni_modules:LiJ-Mpaas
Could not find :bqcscanservice-build-10.1.60a.1097:.
Required by:
project :uni_modules:LiJ-Mpaas -
Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 12s
Error code = -5000
Error message:
UTS plugin @ uni_modules LiJ-Mpaas compile error!
問心 (作者)
好的,谢谢
2023-08-25 11:26