1 Error:A problem was found with the configuration of task ‘:app:packageNormalVersionDebug’.
File ‘E:\项目\签名.keystore’ specified for property ‘signingConfig.storeFile’ does not exist. 解决方案: 找下你的签名文件夹的路径,看看是不是项目变了以后,签名文件夹路径变了,改过来就行 2 http://blog.csdn.net/u010882634/article/details/50682845 2 Warning:Conflict with dependency ‘com.google.code.findbugs:jsr305’. Resolved versions for app (3.0.1) and test app (2.0.1) differ. See http://g.co/androidstudio/app-test-app-conflict for details. 解决方式:
在您的应用程序build.gradle添加内的下列android { }:
configurations.all { resolutionStrategy.force ‘com.google.code.findbugs:jsr305:1.3.9’ } 2 这个问题是在做扫描的时候出现的, Error:Execution failed for task ‘:app:transformClassesWithJarMergingForRelease’.
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/zxing/aztec/AztecDetectorResult.class 我感觉应该是 compile files(‘libs/zxing.jar’) compile ‘com.google.zxing:core:3.2.1’ 这两个引用里面的包重复了 经过多次查询,找到这个大神的博客,发现是 com.android.support:appcompat-v7:25.3.1引用和比其他包里面的引用的版本高,造成其他lib无法找到引用,后来我这样修改以后竟然好了,百思不得其解啊 compile( ‘com.android.support:appcompat-v7:25.3.1’){ exclude group: ‘com.android.support’ } http://www.mobibrw.com/2016/3777 1