Generate Universal APK from Android App Bundle

﹥>﹥吖頭↗ 提交于 2019-12-07 04:13:42

问题


I have an app bundle file, now I want to generate a universal APK that can be installed to all devices. I have tried to use this command to generate universal APK:

$bundletool build-apks --bundle=myapp_bundle.abb --output=myapp.apks --universal

However, what I got is .apks (not .apk) where I cannot install directly to any devices. Anyone know how to get a universal .apk file instead of .apks?

Thank you very much.


回答1:


Use either the extract-apks or the install-apks command to respectively extract the APK from the APK Set to a directory, or install them on a connected device.

Alternatively, just unzip the .apks using your favourite zip tool. But that might not always work in the future.



来源:https://stackoverflow.com/questions/50616544/generate-universal-apk-from-android-app-bundle

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