[Buildroot] [RFC PATCH v1 1/1] package/android-tools: update to version 5.1.1.r38

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Jul 29 09:42:51 UTC 2022


Hello Christian,

On Thu, 28 Jul 2022 08:24:18 -0700
Christian Stewart <christian at paral.in> wrote:

> ACK on your comments.
> 
> However, I think even this updated version is still extremely old.
> 
> It doesn't have all of the arguments like --page-size or even --version
> 
> The Gentoo package reports version 31.0.3-android-tools
> 
> That's way way way more recent than 5.x, right?
> 
> I'm a bit confused on these version schemes.
> 
> https://github.com/nmeum/android-tools

I have no idea how this is maintained. It's probably a bit crappy as
this is forked from the Android code base. So far, we were using the
android-tools packaged in Ubuntu, therefore available on Launchpad.

This other Github repository you're pointing to perhaps uses a
different version scheme.

> This package has a Cmake version of building it which seems much
> cleaner, and also brings in all the other tools like simg.
> 
> To be able to build it, it requires using the Git submodules method:
> 
> ANDROID_TOOLS_VERSION = 31.0.3p1
> ANDROID_TOOLS_SITE = https://github.com/nmeum/android-tools
> ANDROID_TOOLS_SITE_METHOD = git
> ANDROID_TOOLS_LICENSE = Apache-2.0
> ANDROID_TOOLS_GIT_SUBMODULES = YES
> 
> And carries its own patches for adb, etc.
> 
> Would it be desirable to switch to this version instead? I certainly
> would prefer it for my purposes.

This seems like a reasonable solution. I see that a Go compiler is
needed. Is it because the android tools developed by Google are now
written in Go?

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list