There is no “Generate Signed Bundle” menu optin in my android studio

可紊 提交于 2020-01-11 11:29:08

问题


I would like to try Android's App Bundle feature.

However, when I would like to make my own app bundle, I cannot because there is no such menu option in my Android Studio, see pic below.

The official youtube video about this topic shows the following:

I have also added android.enableAapt2=true to my gradle.properties file, just as the official sources say, also restarted Gradle daemon, also restarted Android Studio:

Note: Android Studio requires AAPT2 to build app bundles, which is enabled for new projects by default. However, to make sure it is enabled on existing projects, include android.enableAapt2=true in your gradle.properties file and restart the Gradle daemon by running ./gradlew --stop from the command line.

What am I doing wrong?

Where is the missing menu option?


回答1:


The feature is currently available in the canary and beta channels, but not the stable channel. Try downloading the best version.




回答2:


You need to download the preview version of Android Studio (v3.2) https://developer.android.com/studio/preview/

After install this version, open your project and will appear a prompt to update the version of gradle.




回答3:


go to this location in Android studio File > Project Structure > Project Settings > Facets



来源:https://stackoverflow.com/questions/51289027/there-is-no-generate-signed-bundle-menu-optin-in-my-android-studio

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