Android studio 3.0 does not generate signed apk

前端 未结 8 1115
温柔的废话
温柔的废话 2021-02-03 17:53

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

When build has completed, i get the message:

Clic

8条回答
  •  无人及你
    2021-02-03 18:30

    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.

提交回复
热议问题