안드로이드 스튜디오 Lint found fatal errors while assembling a release target(ERRORS)

애플리케이션을 다 만들고 APK를 생성할 때 생기는 에러에 대해 알아보겠습니다.

 

밑에는 풀 에러입니다. 

 

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     } } ...

 

에러 부분에서 친절하게 알려주네요.

 

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     } }

 

위에 부분을 bulid.gradle의 android 부분에 넣어 주시면 됩니다.

 

에러를 더 확실하게 보고 싶은 분들은 

앱 보기 방법을 Project로 바꿔주시고

app -> build -> reports -> lint-results-release-fatal.html를 확인해주시면 됩니다.

댓글

Designed by JB FACTORY