[Solved] Android Kotlin Package release Error: Lint found fatal errors while assembling a release target.

preface

Recently, I wrote in kotlin that I was playing
and reported an exception in the packaged version of release

Lint found fatal errors while assembling a release target.
unable to read PNG signature: file does not start with PNG signature.

Solution:

 release {
            //Add
            lintOptions {
                checkReleaseBuilds false
                abortOnError false
            }
          }  


Outcome:
1.
2.

Read More: