Hi all,

Just throwing a potential idea out there, maybe for the cordova-android 9.x milestone. Now that we have android bundle support merged into master, I think it is worth considering to incorporate bundletool, which is a command line toolset for managing and manipulating AAB files. It is the underlying command tool that Google uses for Gradle, Android Studio, and Google Play service. It is released under the Apache license. I believe it can for the most part replace ADB usage, because it can both build apks, and deploy apks to device.

One benefit this will provide us is we can then support the cordova run command while using bundles since the bundletool itself can install apk generated from the bundle to a connected device.

I think there might be some cases where using the ADB executable is still necessary, perhaps for listing devices, etc. But for actual building/installing a build to the device, I believe ADB can be replaced with the bundletool.

We can still provide an APK to those end-users who still wants to use APKs for deployment as we can extract APKs from a bundle.

I'll provide couple links for reference:
https://developer.android.com/studio/command-line/bundletool

https://github.com/google/bundletool

- Norman


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to