views:

203

answers:

2

I currently have an Android project in Eclipse.

I created it with a target build of 1.5 (sdk 3).

Now I want to change it so that it has a minSdk of 3 and targetSdk of 8.

To do this I see that I must build against the newest SDK (2.2)

To do this in Eclipse I right click on my project, go to properties, click on Android and change the project build target to Android 2.2 and click apply and then ok.

However this appears to have no affect and when I try it again the target build is set back at Android 1.5.

Am I missing a step or something?

+2  A: 

Right click the project and click "Properties". Then select "Android" from the tree on the left. You can then select the target version on the right.

Ryan Conrad
I have tried that but it wont work
Donal Rafferty
I'm sorry, I missed that you tried that.
Ryan Conrad
turns out my properties, classpath and project files were set as unwritable which is why it didnt work, works now, thanks
Donal Rafferty
+2  A: 

Well I agree with Ryan Conrad on how to do it in eclipse, have you ensured you have changed your manifest.xml?

 <uses-sdk android:minSdkVersion="3" />
 <uses-sdk android:targetSdkVersion="8" />
stealthcopter