Android.jar sources
4 Comments Published May 18th, 2010 in Android, Eclipse, Java Tags: Android, Google, How-To, Java, Open Source, Tricks.Yesterday I wrote a post to explain how to link Android sources in Eclipse. If you use a different IDE, probably you can't have Eclipse facilities but it may be easier to have the sources "in line" with the android library.
For myself usage I packed the android sources into some jar files. To have them linked properly in Eclipse, you need to download them and unpack in the proper directory under the Android SDK.
Here the files and the folder where they should be unpacked.
- android-sdk-1.5_r3-src.jar unpack to ANDROID_SDK_HOME/platforms/android-3/sources
- android-sdk-1.6_r2-src.jar unpack to ANDROID_SDK_HOME/platforms/android-4/sources
- android-sdk-2.0.1_r1-src.jar unpack to ANDROID_SDK_HOME/platforms/android-6/sources
- android-sdk-2.1_r1-src.jar unpack to ANDROID_SDK_HOME/platforms/android-7/sources
You don't need to unpack the files if you don't use Eclipse, as probably your IDE is able to reference source-jars for libraries in the CLASSPATH.
Very soon Android 2.2 will be released, you can build the source-jar with the utility I published yesterday, that is a bash script which runs in OSX and hopefully on Linux as well (the "find" utility may differ a little bit on Linux). Drop me a comment here, if you have problems, and I will pack it for you.
4 Responses to “Android.jar sources”
Leave a Reply
Search
Calendar
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Apr | Jun » | |||||
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 | ||||||
Archives
Categories
- Android (3)
- Apple (26)
- Books (7)
- Eclipse (14)
- Errors (3)
- Firefox (7)
- Git (2)
- Hardware (16)
- Horror Code (8)
- Internet (18)
- Java (98)
- JavaScript (9)
- Life, universe and everything (45)
- Lifehacks (25)
- Linux (50)
- Opinions (25)
- OSX (4)
- Python (1)
- Software (27)
- Speeches and Conferences (8)
- Unix (3)
- Web (21)
- Windows (19)
Tag Cloud
Android apple architecture Bash colors configuration CSS Development Düsseldorf Eclipse germany Git Google Hardware hdr How-To Java JAXB job junit Karmic Linux MacBook music night Open Source Opinion oracle OSX patterns Pitfalls Practices Resume Security Software Suspend TDD Testing tip tonemapped Tricks Ubuntu video Web XML
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
Blog License
Blogs I like
Books on the desk
Friends' Blogs
- Antonio Terreno & Valter Bernardini
- Bruno Bossola
- Daniele Galluccio
- Domenico Ventura
- Ed Schepis
- Fabrizio Gianneschi
- Luca Grulla
- Luigi Zanderighi
- Marcello Teodori
- Mida Boghetich
- Muralidharan Chandrasekaran
- Piero Ricca
- Renzo Borgatti
- Simone Bordet
- Simone Bruno
- Uberto Barbini
- Valvolog
- Webtide blogs (Greg Wilkins & Jan Bartel)
Links




















Nice. Thanks for this. You’ll see a trackback from me very soon.
Hi.
2.2 is now out. Where do you get the src?
Hey I have an HTC EVO and need to upload a .jar file/application. It wont allow me to. Help!
Oh it’s running android 2.2 btw.