Android studio 3.0 does not generate signed apk

JPJens picture JPJens · Oct 26, 2017 · Viewed 27.9k times · Source

After updating android studio to version 3.0 (windows), I am unable to generate a signed APK.

enter image description here

When build has completed, i get the message:

enter image description here

Clicking "Locate" brings me to the APP folder, but there is no APK to be found.

What has been changed ?

Answer

Niraj Sanghani picture Niraj Sanghani · Oct 26, 2017

Since Android Studio 3.0 update, the apk generated will be in

{project-folder}/app/release/app-release.apk

Also 1 more file is generated Output.json which holds the apk generation details.

Sample:

[  
   {  
      "outputType":{  
         "type":"APK"
      },
      "apkInfo":{  
         "type":"MAIN",
         "splits":[  

         ],
         "versionCode":1
      },
      "path":"app-debug.apk",
      "properties":{  
         "packageId":"njscommunity.xxxxx",
         "split":"",
         "minSdkVersion":"19"
      }
   }
]

All depends on Gradle build, so at the end it all depends on Gradle version you build with. i.e. Gradle Android plugin for Android Studio.