nitha
nitha

Reputation: 31

How to change SDK version in android project

I have developed an android application with Android Version-4.0.4 and API level 15. but im not able to test the application in any of the android phones. So i want to downscale the SDK version.What should i do for that? Please help me.

Upvotes: 1

Views: 2412

Answers (4)

Dhaval Parmar
Dhaval Parmar

Reputation: 18978

check below images it may help you.

enter image description here

enter image description here

choose SDK version Press OK.

Upvotes: 3

xtr
xtr

Reputation: 5960

add

<uses-sdk android:minSdkVersion="4" />

to your manifest, so you can run in Android phone 1.6 and up. Beware if you use some code that require api > your phone api level, you will get a force close.

Upvotes: 0

Nirali
Nirali

Reputation: 13825

In manifest file just write

<uses-sdk android:minSdkVersion="4" />

OR

Right click your project and go to properties

Click Android tab

enter image description here

And from here you can change SDK version

Upvotes: 2

telkins
telkins

Reputation: 10550

If you view the source code of your AndroidManifest.xml file then you should see the minimum SDK value that can be changed.

For example:

 <uses-sdk
        android:maxSdkVersion="16"
        android:minSdkVersion="7" />

Upvotes: 2

Related Questions