I recently upgraded my android studio from 0.2.6 to 0.2.11. The Build - > \"generate signed apk\" wizard which was opening up in 0.2.6 is not coming up here. Instead it shows a
This issue is got fixed in Android Studio v 0.2.13 as expected.
Bug fixed by Android Studio Developer Team
Google Android Thread
A temporary fix for your issue is to restart Android Studio. After a cold start, Android Studio will let you access the "generate signed apk" wizard once before again warning you that you have to change your build.gradle.
As Shai mentioned, this will be fixed in a future release. Please see the links in his post.
I copied gradlew from the android studio to my project root directory
Then I added this to my build.gradle
android {
...
signingConfigs {
release {
storeFile file("mykeystore")
storePassword "mypassword"
keyAlias "my alias"
keyPassword "mypassword"
}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}
}
Then I did
gradlew assembleRelease
from my project root directory
This way I got the signed apk in build/apk
Too bad I wasn't able to do the same via IDE
I ended up just using "gradle installRelease" and coping the release APK from build/apk folder.
I am not sure why we are getting this, I do have my signingConfigs setup properly in build.gradle.