Reputation: 29724
Eclipse, or Android is changing my project.properties
file when I import a project from existing source.
When I "export" an existing project from SVN, the project.properties
file is referencing the correct SDK for that project:
# Project target.
target=Google Inc.:Google APIs:7
I can see this by opening the file in a text editor. I have not yet imported this as a project into Eclipse.
Then I choose to import it into Eclipse using File...New...Android Project from Existing Source.
Eclipse imports the project, and immediately shows the correct SDK in the project explorer window. Perfect so far.
After a second or so, I can see the SDK change to Android 2.1. Eclipse automatically made the change!
My project.properties file has been updated:
# Project target.
target=android-8
To summarise:
I have checked this on a different developer's machine - same behaviour. (i.e. Android SDK Tools 21.0.0 and 21.0.1)
Any ideas?
Upvotes: 4
Views: 358
Reputation: 7394
This is the Bug of Eclipse, currently nobody can do anything for it until eclipse developer resolve this bug.
(Also this bug is very well written and mentioned there as compaired to asked here...LOL..BTW sorry for your unsolvable problem right now)
Thanks, Happy to help.
Upvotes: 3