<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 30, 2016 at 2:43 PM Hans-Christoph Steiner <<a href="mailto:hans@at.or.at">hans@at.or.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
There are many packages that are used as part of the Android SDK that<br>
will be very difficult for us to package and distribute any time soon.<br>
Things like the emulator "system-images". I think we need to support<br>
them, and make them easy to install with the Debian packages. I can see<br>
two ways to do this:<br>
<br>
1. make separate "contrib" installer packages for each system-image,<br>
e.g. "Intel x86 Atom System Image 24r4" aka sysimg_x86-24_r04.zip, like<br>
google-android-ndk-installer</blockquote><div>If we could write a script to automate updates to the debian package as upstream updates, it could be a small one time effort with much less work required in the future.<br>It could take a repository xml as input.<span style="line-height:1.5"> </span></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="line-height:1.5"> </span></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
2. make an ANDROID_HOME in /var/lib/android-sdk with symlinks to the<br>
stuff provided by the Debian packages, e.g.<br>
/var/lib/android-sdk/build-tools/23.0.3, and then write permissions to<br>
an 'android-sdk' group so that users can add themselves to that group,<br>
then run `/var/lib/android-sdk/tools/android update sdk` to get other<br>
bits from Google.<br></blockquote><div>There is one thing here, users can also add their own custom repository xmls. So we might need to add the group even if we go for the first option to allow users to download their own things (I remember using it in the past for preparing CyanogenMod emulator images.)<br>Or perhaps those could be downloaded to some other part, if the android tool supports that.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I'm not sure which is the better path. The first one seems to be<br>
simpler, since everything would be a Debian package.<span style="line-height:1.5"> </span></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
.hc<br>
<br>
_______________________________________________<br>
Android-tools-devel mailing list<br>
<a href="mailto:Android-tools-devel@lists.alioth.debian.org" target="_blank">Android-tools-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel</a><br>
</blockquote></div></div>