在Android Studio上签署并发布(Build / Generate Signed Apk ...)程序时会显示此错误。
App build.gradle代码:
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.example.app"
minSdkVersion 16
targetSdkVersion 27
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.google.firebase:firebase-crash:11.8.0'
...
implementation 'com.path:android-priority-jobqueue:1.1.2'
implementation 'com.birbit:android-priority-jobqueue:2.0.1'
implementation 'com.android.volley:volley:1.1.0'
...
}
apply plugin: 'com.google.gms.google-services'
答案 0 :(得分:1)
您的项目存在包含的依赖库的问题。
替换
compile' com.path:android-priority-jobqueue:1.1.2'
到
compile ('com.path:android-priority-jobqueue:1.1.2'){
exclude group: 'com.google.android'
}