1. Gradle sync failed: Could not find method runProguard() for arguments [false] on
解决:新版本已经使用 minifyEnable 代替了runProguard,将runProguard 改成minifyEnable即可
2. Gradle sync failed: Could not get unknown property 'GROUP' for object of type org.gradle.api.publication.maven.internal.deployer.DefaultGroovyMavenDeployer
解决 : 删除build.grade 里面的这句
apply from: 'https://raw.github.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle'同时应当注意将app 和 module 里面的build.gradle
minSdkVersion
targetSdkVersion
设置成一致。
3. Error:Library projects cannot set applicationId. applicationId is set to 'com.ikimuhendis.ldrawer' in default config.
原因: 引用第三方开源library 库,没有修改build.gradle 里面的
applicationId "com.ikimuhendis.ldrawer"
解决: 将第三方library 里面的applicationId 这一项删除