(5) Use Eclipse to read the source code

Source: Internet
Author: User

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:

  1. Start Eclipse, then select Help > Install New software.
  2. click  Add , in the Top-right corner.
  3. 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.

  4. Click OK.
  5. In the Available software dialog, select the checkbox next to Developer Tools and click Next.
  6. In the next window, you'll see a list of the tools to be downloaded. Click Next.
  7. 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>.

  8. 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.