Errors while building APK. You can find the errors in the 'Messages' view.
来源:2-3 使用Kotlin编写app-build.gradle
LHgreenbird
2022-04-12
老师,你好,我按照2-3里的视频操作
签名的时候,提示错误
Generate Signed APK: Errors while building APK. You can find the errors in the ‘Messages’ view.
签名的时候,无V1和V2
上网尝试过在app/build.gradle.kts的安卓属性里添加
//参考链接:https://blog.csdn.net/Qiansiying/article/details/88956783
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
也尝试过
https://blog.csdn.net/qq_38900441/article/details/84304516
lintOptions {
checkReleaseBuilds=false
abortOnError=false
}
但是仍未成功。
使用的AS其中
com.android.tools.build:gradle="1.6.10"
org.jetbrains.kotlin:kotlin-gradle-plugin="7.0.3"
请问该如何解决?
2回答
-
LHgreenbird
提问者
2022-04-19
好的,谢谢老师。只是没次弄项目都卡在编译失败这里
00 -
刘某人
2022-04-19
这是因为你的项目无法编译成功,先解决编译的问题,才能打包Apk哦
00
相似问题

