Eclipse imports all android code

Source: Internet
Author: User
The method is as follows: CD myandroid1. copy the Eclipse project configuration file to the CP development/IDE/Eclipse/Under the root directory of the android source code /. classpath. /chmod U + W. classpath # Make the copy writable2. modify the configuration of the eclipse program 1), increase the eclipse memory settings, and set eclipse. the three values of INI (under the installation directory of eclipse software) are changed to the following values:-Xms128m-Xmx512m-XX: maxpermsize = 256m3. check Before importing Android source code into eclipse as a project. whether the files in classpath have corresponding files (folders) in the android source code; otherwise, the android source code will be damaged (usually multiple files/folders are added ),. you can delete unnecessary paths in classpath to create a Java Project (not an android project, no Will damage the android source code), select to import from an existing project, the project name is arbitrary, complete.. Project File Content ============================================ ========================================================== =================<? XML version = "1.0" encoding = "UTF-8"?> <Projectdescription> <Name> gingerbread </Name> <comment> </comment> <projects> </Projects> <buildspec> <buildcommand> <Name> org. eclipse. jdt. core. javabuilder </Name> <arguments> </buildcommand> </buildspec> <natures> <nature> Org. eclipse. jdt. core. javanature </nature> </natures> <symbol resources> <link> <Name> packages/providers/calendarprovider/src/COM/Android/providers/calendar/eventlogtags. java </Name> <type> 1 </type> <location>/work/gingerbread2.3/out/target/common/obj/apps/calendarprovider_intermediates/src/COM/android /providers/calendar/eventlogtags. java </location> </link> <Name> packages/providers/contactsprovider/src/COM/Android/providers/contacts/eventlogtags. java </Name> <type> 1 </type> <location>/work/gingerbread2.3/out/target/common/obj/apps/contactsprovider_intermediates/src/COM/android /providers/contacts/eventlogtags. java </location> </link> </cmdresources> </projectdescription> ====================== ========================================================== ========================================================== ====

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.