False "Generate signed APKs - APK (s) generated successfully" pop-up message "every time I make an assembly (after creating a signed apk once)

This happens in all projects for me. When I create a signed apk from Android Studio, I get the following message, which is correct:

enter image description here

Problem:. After that, I keep getting this message for every build that happens for a project when I actually don't create a signed apk.

I checked the destination folder to see if apk is really being created, but it is not. Then why am I getting a message? After rebooting Android Studio, it stops.

Is this the wrong configuration in the project or settings, or is it a bug in Android Studio? I am using Android Studio 1.5.1

Update: I do not want to disable lint and suppress this problem. I was really looking for a real fix (maybe configuration or settings change in IDE or gradle )


As mentioned in the answer I accepted, by user2082415, this is a bug in Android Studio . Now I follow the error report and update this post if there is a solution.

Here is the link to the error report

+5
source share
2 answers

I have a similar problem with the "Build APK APK (s) generated successfully." message. You can find the error in this problem at the following link. The more people vote for this problem, the more it will be fixed.

Error Report Link

+7
source

here's what you can do by creating a moniter application in the event log. This problem may be related to android lint.Due to avoid errors. The application has not been created. Solve these problems or, if you want, skip lint, you will need to write the following in the build.gradle file

 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 } } 
+1
source

Source: https://habr.com/ru/post/1240905/


All Articles