打包失敗出現以下提示:
Gradle build finished with 101 error(s) in 1m 35s 424ms
19:23:50 Generate Signed APK: Errors while building APK. You can find the errors in
the ‘Messages’ view.
在build.gradle文件里加上這樣的一句話:
lintOptions {
checkReleaseBuilds false
abortOnError false
}
然後你重新打包編譯,就會出現錯誤提示了:打包不成功有很多原因。
然後根據提示解決問題。