[Android-tools-devel] Documenting the android build process for tools relevant to us.

Hans-Christoph Steiner hans at at.or.at
Wed Jun 8 11:17:22 UTC 2016


I think we should follow upstream here and make 'platform' packages, e.g.:

android-platform-23
android-platform-22
android-platform-21
android-platform-20
android-platform-19
etc.

The version numbers of the package should probably be the git tag we
use.  I'll bet seamlik knows the answer there.  Each of those then
install into

/usr/lib/android-sdk/platforms/android-23
/usr/lib/android-sdk/platforms/android-22
/usr/lib/android-sdk/platforms/android-21
/usr/lib/android-sdk/platforms/android-20
/usr/lib/android-sdk/platforms/android-19
etc.

For examples of what they contain, you can see upstream's packages:
https://dl.google.com/android/repository/platform-23_r03.zip

They are all listed here:
https://dl.google.com/android/repository/repository-11.xml

.hc

Chirayu Desai:
> How about a separate package which provides just framework-res.apk?
> The android.jar work is currently in the process of being redone, if I can
> call it that, and also it might be better in general to have a separate
> package.
> 
> I was thinking of creating 'android-frameworks-res', provided by
> 'src:android-platform-frameworks-base'
> Both apktool and libandroid-23-java could depend on it.
> 
> On Tue, Jun 7, 2016 at 5:04 PM 殷啟聰 <seamlikok at gmail.com> wrote:
> 
>> Hi,
>>
>> I was also wondering which package should provide the
>> "framework-res.apk". aapt looks good but in fact the APK is unrelated
>> to this program. How about libandroid-23-java which provides the
>> "android.jar"?
>>
>>   1. "framework-res.apk" is built during the process of building
>> "android.jar".
>>   2. aapt is arch-dependent package and "framework-res.apk" is
>> arch-independent file, although I don't know if this point actually
>> matters. Probably reduce the burden of buildd.debian.org ?
>>
>> Cheers,
>> Kai-Chung Yan
>>
>> 2016-06-07 19:24 GMT+08:00 Markus Koschany <apo at debian.org>:
>>> On 05.06.2016 11:47, Chirayu Desai wrote:
>>>> Hello everyone,
>>>>
>>>> This is to serve as a recap of the discussion had on IRC
>>>> (#debian-mobile) on June 2.
>>>> One of the major things discussed was the build process of
>>>> android.jar, we looked at how it is built in the android tree. I feel
>>>> like that could be documented in a place, so I created a wiki page
>>>> [1].
>>>
>>> Good idea. I presume shipping framework-res.apk with
>>> src:android-framework-base would be an easy task. The question is which
>>> package should provide the resource files? Maybe aapt? Apktool already
>>> depends on aapt, so that would be like killing two birds with one stone.
>>>
>>> Markus
>>>
>>>
>>> _______________________________________________
>>> Android-tools-devel mailing list
>>> Android-tools-devel at lists.alioth.debian.org
>>>
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel
>>
>>
>>
>> --
>> /*
>> * 殷啟聰 | Kai-Chung Yan
>> * 一生只向真理與妻子低頭
>> * Undergraduate student in National Taichung University of Education
>> * LinkedIn: <https://linkedin.com/in/seamlik>
>> * Blog: <http://seamlik.logdown.com>
>> */
>>
>> _______________________________________________
>> Android-tools-devel mailing list
>> Android-tools-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel
> 
> 
> 
> _______________________________________________
> Android-tools-devel mailing list
> Android-tools-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel
> 



More information about the Android-tools-devel mailing list