Build Android source

41 views
Skip to first unread message

neeloor2004

unread,
Oct 20, 2011, 11:45:46 AM10/20/11
to android-porting
Hi
I am not very familiar with Android source build system, even though
I built the full source code and I am not fully understood the build
process.

Example :- /../gingerbread/packages has java files but after building
it no class files are created ! on the other hand /.../gingerbread/
frameworks/base/core/java also got java files and class files are
generated !. Where is all these configured ?

Could someone explain (Or share some docs) which will clarify build
process

Many Thank
Neel

Ying Wang

unread,
Oct 20, 2011, 1:27:19 PM10/20/11
to neelo...@gmail.com, android-porting
There are some documents, though they may not be up to date:
In your source tree:
build/core/build-system.html
And best of all the source code itself in build/.

Nigel Sheridan-Smith

unread,
Oct 20, 2011, 7:03:16 PM10/20/11
to wang...@android.com, neelo...@gmail.com, android-porting
Class files and JAR files are generated under out/{debug}/target/product/common/obj and out/host/common/obj.

classes-jarjar.jar is usually the JAR file before it is passed into 'dx' to dexify the file. You should be able to extract the .class files from that if nothing else.

Cheers,

Nigel

Yury Zhauniarovich

unread,
Oct 21, 2011, 11:25:33 AM10/21/11
to android...@googlegroups.com
Hi Neel.

I'm also a newbie in the Android OS development but I found a good point to start. You can find answers for your questions in these two videos:

Best regards,
Yury
Reply all
Reply to author
Forward
0 new messages