关于安卓打包app没有通过的解决方法
app模块的build.gradle android模块添加
lintOptions {
disable 'InvalidPackage'
checkReleaseBuilds false
abortOnError false
}
gradle模块开启offline mode
使用 gradlew clean ,gradlew assemble 进行清理
删除test目录
Execution, Deployment > Compiler里找到Command-line Options里将–offline删掉就行了
编译选项
–parallel –offline
关于错误日志
2020/04/30 Cannot lock daemon addresses registry as it has already been locked by this process.
2020/04/30 Unfortunately you can’t have non-Gradle Java modules and Android-Gradle modules in one project.
AGPBI: {"kind":"warning","text":"Missing class: com.meizu.cloud.pushsdk.MzPushMessageReceiver","sources":[{}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Missing class: com.google.android.gms.internal.zzbej","sources":[{}],"tool":"R8"}
AGPBI: {"kind":"warning","text":"Missing class: com.google.firebase.iid.FirebaseInstanceIdService","sources":[{}],"tool":"R8"}