APP在添加原生语言插件后,打包自定义基座报错:
打包错误日志
https://ide.dcloud.net.cn/build/errorLog/7425c520-25e9-11ee-b51b-8f606d6b1745
插件的 build.gradle:
apply plugin: 'com.android.library'
android {
compileSdkVersion 33
buildToolsVersion '33.0.1'
defaultConfig {
minSdkVersion 16
targetSdkVersion 33
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
flatDir {
dirs 'libs'
}
}
dependencies {
compileOnly fileTree(dir: 'libs', include: ['*.jar'])
compileOnly 'androidx.recyclerview:recyclerview:1.0.0'
compileOnly 'androidx.legacy:legacy-support-v4:1.0.0'
compileOnly 'androidx.appcompat:appcompat:1.0.0'
compileOnly 'com.alibaba:fastjson:1.2.83'
compileOnly fileTree(dir: '../app/libs', include: ['uniapp-v8-release.aar'])
compileOnly 'com.alibaba:fastjson:1.1.46.android'
}
实在不知该怎么入手了。请大佬帮忙看看。
Appid: UNI58111EA