project.properties does not update correctly when importing an existing Android project into Eclipse. This file exists in the source control:
# This file is automatically generated by Android Tools.
After importing the project (and doing nothing), the file looks like this:
# This file is automatically generated by Android Tools.
The manifest has the following elements:
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="14"/>
This means that every time someone imports a project, we must reset to create a target in the menu project-> properties-> android. I have the latest ADT tools installed and all SDKs are downloaded and available.
Things I tried:
- Delete the entire project, including contents on disk, clone and delete the project.properties file before importing. The same result.
- Delete the entire project, including the contents on the disk, clone and delete the .settings folder before importing. The same result.
- Removing an entire project, including contents on disk, cloning and importing only for smiles. The same result.
- It is drawn through the .project file. Nothing interesting.
- Double-checked ant.properties, build.xml and every other plain-text file for hints. Nothing interesting.
- The problem is with Google and double-checked the Eclipse and ADT error sites for known issues. Nada.
- It was checked on the file system that the file really has the correct settings after cloning and that import is the culprit.
- Removing the entire project, including contents on the disk, cloning, MANUALLY editing the project.properties file for android-14, import. This led to an immutable project.properties file, but since I use the Google APIs for mapping, this is not acceptable.
I just confirmed that I can “fix” the project after importing it. Delete the project from Eclipse, but leaving the contents on disk. When importing a project, project.properties is not edited correctly. The import process does not recognize Google API entries in project.properties.
This is how I get the project from the file system in Eclipse:

Thoughts?
android eclipse
Bill mote
source share