Is it possible to build an App Bundle using an already release signed APK, in Android Studio? I want to migrate apk to app bundle for play store

不羁岁月 提交于 2020-06-26 04:12:32

问题


I am using the Unity Engine to build apk. Then I use that APK on Enhance to integrate the SDK's. AAB format is not accepted, therefore I need to build APK rather than AAB directly from Unity. Then I want that integrated APK to be migrated to App Bundle to upload to PlayStore.

I had tried finding it on documentation provided by Google for App bundle development, but nothing found. If you can help me there.


回答1:


Is it possible to build an App Bundle using an already release signed APK

NO. You can convert an AAB to APK but not vice versa. Check this for Generate Apk file from aab file (android app bundle)

I want to migrate apk to app bundle for play store

You can migrate anytime and upload an apk or app bundle for any releases. Android (Google) doesn't restrict and accepts either of it in the Play Store.

However, you need to make sure you increment your versionCode to make sure everyone gets the update.

Also I recommend you to refer,

  • https://developer.android.com/studio/command-line/bundletool

  • Difference between apk (.apk) and app bundle (.aab)



来源:https://stackoverflow.com/questions/57864662/is-it-possible-to-build-an-app-bundle-using-an-already-release-signed-apk-in-an

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