[英]Execution failed for task ':app:minifyDebugWithR8'. > java.lang.NullPointerException
I'm using a jacorb library in my project and when i launch the build apk i get this error.我在我的项目中使用了一个 jacorb 库,当我启动构建 apk 时,我得到了这个错误。 Can someone show us how to fix this error?有人可以告诉我们如何解决这个错误吗? please help.请帮忙。
try add JavaVersion.VERSION_1_8 to you app build.gradle尝试将 JavaVersion.VERSION_1_8 添加到您的应用 build.gradle
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
maybe help you to fix the problem, just maybe.也许可以帮助您解决问题,只是也许。 you can try.你可以试试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.