-2

I want to make an APK in Android Studio but when I create it, it shows this error:

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
    }
}
...
pppery
  • 3,731
  • 22
  • 33
  • 46
Pouria Hemi
  • 706
  • 5
  • 15
  • 30

1 Answers1

1

I have faced same issue when creating signed apk from android studio. I just change little bit change on build.gradle file inside android {}

lintOptions {
  checkReleaseBuilds false
  abortOnError false
}
Hamed Karami
  • 405
  • 1
  • 6
  • 28