NickT
NickT

Reputation: 23873

Setting minSdkVersion and available emulators?

Today I upgraded to SDK version 3.0 from 2.3.3. I have one question that has always puzzled me.

My code is unchanged from when I built it with build target API level 7, so there are no API level methods called. I've now changed the Properties/build target to API level 11 but set the minSdkVersion to level 7 in the manifest.

When I set up a run configuration under Eclipse, the only AVDs available to me are level 11. Should not the level 7 AVDs (which do exist on my machine) be available as targets?

If not, what use is setting the minSdkVersion to 7, as I can't test it on a level 7 emulator?

Upvotes: 3

Views: 716

Answers (1)

typo.pl
typo.pl

Reputation: 8942

In the Debug configuration panel for your app, you have to go to the Target Tab and change the Deployment Target Selection Mode to 'Manual' and once you click on Debug button, you'll get a "Android Device Chooser" dialog where you can specify which AVD to startup.

Upvotes: 4

Related Questions