ProjectHelper.fixProject(project);
ProjectHelper.fixProjectNatureOrder(project);
AndroidNature.configureResourceManagerBuilder(project);
AndroidNature.configurePreBuilder(project);
AndroidNature.configureApkBuilder(project);
ProjectHelper.fixProject(project)
- creates Java project
- fixes classpath entries to ensure that:
- the project does not reference any old android.zip/android.jar archive
- the project does not use its output folder as a sourc folder
- the project does not reference a desktop JRE
- the project references the AndroidClasspathContaine
r.
ProjectHelper.fixProjectNatureOrder(project)
AndroidNature.configureResourceManager
AndroidNature.configurePreBuilder(project)
AndroidNature.configureApkBuilder(project)
Last three calls ensure that you have correct builder for your project. When you look at your Builders section in eclipse project properties you will see:
- Android Resource Manager first
- Android Pre Compiler after Resource Manager
- Android Package Builder last