blastakp.blogg.se

Android build apk
Android build apk








android build apk

Now run following command to install it on your device: java -jar "path/to/bundletool.jar" install-apks -apks=myapp.apks Make sure your device is connected to your machine

android build apk

Run following command: java -jar "path/to/bundletool.jar" build-apks -bundle=myapp-release.aab -output=myapp.apks -ks="/path/to/myapp-release.keystore" -ks-pass=pass:myapp-keystore-pass -ks-key-alias=myapp-alias -key-pass=pass:myapp-alias-pass Generate your aab file from Android Studio eg: myapp-release.aab I have been using following commands while testing my release build for aab:ĭownload bundletool jar file from Github Repository (Latest release > Assets > bundletool-all-version.jar file). By default, the IDE does not use app bundles to deploy your app to aįor Debug apk command, bundletool build-apks -bundle=/MyApp/my_app.aab -output=/MyApp/my_app.apksįor Release apk command, bundletool build-apks -bundle=/MyApp/my_app.aab -output=/MyApp/my_app.apks










Android build apk