When this problem occurs in the release version is compiled, an error message appears as follows:
Lint found fatal errors while assembling a release target. To proceed, either fix the issues identified by lint, or modify your build script as follows: ... android { lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue to check for errors in release builds, // but continue the build even when errors are found: abortOnError false } } ...
After adding in accordance with the above tips, recompile also encounter this prompt, try the following solutions:
android { buildTypes { release { //在这里添加: lintOptions { checkReleaseBuilds false abortOnError false } minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } }