Eclipse installation, configuration
now that Google has stopped supporting ADT bundles, it's time to download Eclipse, ADT, and SDK separately. Eclipse (Luna 4.4.1)
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/luna/SR1/ Eclipse-java-luna-sr1-linux-gtk-x86_64.tar.gz
Installing ADT
To add the ADT plugin to Eclipse:
- Start Eclipse, then select Help > Install New software.
- click Add , in the Top-right corner.
- in the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for THE&NBSP, location :
https : //dl-ssl.google.com/android/eclipse/
Note: the Android Developer Tools Update site requires a secure connection. Make sure the update site URL you enter starts with HTTPS.
- Click OK.
- In the Available software dialog, select the checkbox next to Developer Tools and click Next.
- In the next window, you'll see a list of the tools to be downloaded. Click Next.
- Read and accept the license agreements, then click Finish.
If you get a security warning saying this authenticity or validity of the software can ' t be established, click ok< /c4>.
- When the installation completes, restart Eclipse.
Source: >
Download SDK
Http://developer.android.com/sdk/index.html#Other
Import Android Source code
1. Cancel Porject > Build Automatically2,
to-import the formatter, go to the Preferences, section Java > Co De Style >formatter, then click on Import and choose Development/ide/eclipse/android-formatting.xml
To import the import order, to go in Java > Code Style > Organize Import, then click on Import and choose DEVELOPM Ent/ide/eclipse/android.importorder
3, copy the Development/ide/eclipse/.classpath to the Android source root directory. 4, New Java project, the root directory is set to the Android source directory, OK, and then it is a long wait. 5, C + + index before the attention to remove some useless directory: external, art and so on.
From for notes (Wiz)
(5) Use Eclipse to read the source code