• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Eclipse - Can can't change project build target

My Android project in Eclipse has a build target of Android 1.5. I am trying to change the "project build target" by Windows --> Preferences --> Android. I select a different Target Name like "Android 2.2". I click Apply and OK. When I go back in the build target is still "Android 1.5".

I am using Eclipse Galileo and have recently upgrade to the latest ADT Plugin and SDK.

This always worked before the upgrade. Any ideas on why Eclipse is not changing the "project build target"?

Thanks
 
The target is also defined in the manifest file - it might be that one that is re-configuring your project target?
 
If anyone (as i) come across this problem, you can try opening the "project.properties" file and change the target there.

It may result in some strange problems with it not being able to find the R file, but after changing it back and forth a few times (the default.properties was fiddled with too i think?), the regular way of changing targets began working again.
 
If anyone (as i) come across this problem, you can try opening the "project.properties" file and change the target there.

It may result in some strange problems with it not being able to find the R file, but after changing it back and forth a few times (the default.properties was fiddled with too i think?), the regular way of changing targets began working again.

Thanks RKOvlesen :)
Note that this worked for me only after I removed the previous classpath folder from the project (Android 2.2 in my case) and restarted Eclipse.
 
Back
Top Bottom