Sounds great. Historically we always had trouble when Google decided
to replace/deprecate/change any of the tools in the build toolchain,
so keeping up to date what is the tool of the week sounds like a good
idea.

Important to consider is the availability of that tool for older
Android versions, on CI providers etc. But I expect that to be part of
the implementation work.

-J

Am Mo., 12. Aug. 2019 um 14:34 Uhr schrieb Norman Breau
<nor...@normanbreau.com>:
>
> 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
>

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

Reply via email to