This is happening across all projects for me. When I generate a signed apk from Android Studio I get the following message which is correct:
Problem: After this I continue getting this message for every build that happens for the project, when I'm not actually generating a signed apk.
I checked the destination folder to see if the apk is actually getting generated but it is not. Then why do I get the message? After restarting Android Studio it stops.
Is this a misconfiguration in the project or settings or is it a bug in Android Studio? I'm using Android Studio 1.5.1
Update: I do not wish to disable lint
and suppress the issue. I'm actually looking for a real fix (probably a configuration or settings change
in the IDE
or gradle
files)
As mentioned in the answer I accepted, by user2082415, this is a bug in Android Studio. I'm following the bug report now and will update this post with a solution when available.
Here is the link for the bug report
A signed apk is an android package file that has been digitally singed with a certificate for which the developer holds the private key. When you are doing developing your application a special debug key is created by the dev tools.
Application signing ensures that one application cannot access any other application except through well-defined IPC. When an application (APK file) is installed onto an Android device, the Package Manager verifies that the APK has been properly signed with the certificate included in that APK.
To generate a signed APK file, open the Build menu from the toolbar and select Generate Signed Bundle/APK. This opens up a screen where you have to select between creating an Android App Bundle and creating an APK file.
I have a similar problem with the "Build APK APK(s) generated successfully." message. You can find a bugreport concerning this issue behind the following link. The more people vote for this issue, the soner it will get fixed.
Link to Bug Report
here is what you can do while building the app moniter the event log this problem might be of the android lint.Due to lint errors the app is not built.Solve those issues or if you want to by pass the lint you will have to write the following in your 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
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With