Can not Generate Signed .apk Using Android Studio

前端 未结 4 472
礼貌的吻别
礼貌的吻别 2020-12-22 05:56

I am trying to export a Signed APK to submit to the play store but when I click Build->Generate Signed APK that option is grayed out and I can not select it.

4条回答
  •  忘掉有多难
    2020-12-22 06:23

    I am finding in the latest versions of Android Studio the File > Project Structure > Project Settings > Facets path does not exist.

    To reach Facets do this:

    On your Project tree click on the upper most element, the Project itself. Then right mouse to expose the menu item Open Module Settings.

    There you will find:

    Project Structure Window with Facets

    Once you are there then I was successful in enabling the "Generate Signed APK" Build Menu item by adding the facets as shown below:

    Facets that worked for me building a Flutter app

    My apologies for the external links to the images, I don't have enough reputation points yet.

提交回复
热议问题