“Generate Signed APK” option is not display in android studio Build menu

爱⌒轻易说出口 提交于 2019-12-24 01:09:16

问题


"Generate Signed APK" option is not display in android studio Build menu, What is the problem or something I missed to install?? Thanks

When I click "Build APK(s)" , the android studio is no response


回答1:


Firstly check with clean > rebuild project and see that 'app' is not having "red X" icon.

Check your gradle that you had not configured it with release config yet.

There must be a signing config in gradle file




回答2:


For me, clicking File > Sync Project with Gradle File System solved it for me.




回答3:


I had the same issue not having the "generate signed bundle/apk" enabled in Android Studio interface and this thread helped to deduce what was my issue... I'm new to android development so I didn't know what to do at all but checking the build.gradle file I realized that there were issues with the synchronization of gradle, so I found this video, downloaded the latest version of Grandle, then went to File > Sync with Fyle System, and after the sync was completed the button appeared.... so seems like this has a direct relation to the right synchronization of gradle.



来源:https://stackoverflow.com/questions/54434074/generate-signed-apk-option-is-not-display-in-android-studio-build-menu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!