Where does the Android Studio 1.5.1 keeps the unsigned APK? I have checked the "app\build\outputs\apk" location but there are only the signed with debug or release and unaligned. Unsigned doesn`t exist at all.
Since it is signed, it MUST exist the unsigned APK too. Where is it?
you can create the unsigned apk with the gradle easily
Click on the drop down menu on the toolbar at the top (usually with android icon and name of your application)
(If it is hard to find the Edit configuration option Search it with the search box in the right top of the window)
Select Edit configurations
Click plus sign at top left corner or press alt+insert
Select Gradle
Choose your module as Gradle project
In Tasks: enter assemble
Press OK
Press play
After that you should find your unsigned 'apk' in directory ProjectName\app\build\outputs\apk
The Android Gradle plugin won't expose an unsigned version of your APK if you have a signingConfig assigned to your buildType. The moment you take out your signingConfig and rebuild (or build a debug version), you'll see something like this:
$ ./gradlew clean assembleRelease
$ find . -name \*.apk
./app/build/outputs/apk/app-<flavor>-release-unsigned.apk
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