Is there a way to generate an APK file from an Android Application Bundle (AAB) via Terminal or using Android Studio?
ベストアンサー1
So far nobody has provided the solution to get the APK from an AAB.
This solution will generate a universal binary as an apk.
--mode=universal
コマンドに追加しますbundletool
(署名されたアプリが必要な場合は、必要に応じて --ks パラメータを使用します)。bundletool build-apks --bundle=/MyApp/my_app.aab --output=/MyApp/my_app.apks --mode=universal
主なステップ:出力ファイル名を から に変更し
.apks
ます.zip
解凍して探索
ファイルは
universal.apk
あなたのアプリです
このユニバーサル バイナリはおそらくかなり大きくなりますが、QA 部門に送信したり、Google Play ストア以外の場所にアプリを配布したりするのに最適なソリューションです。