Chen Kinnrot
Chen Kinnrot

Reputation: 21015

How to work on latest sdk and support older ones

I need to suppoert api level 10, and working with latest sdk to provide new device features (only if sdk of device is new). on manifest I choose min version 10.

The problem is that the application is not installed succesfully on the old sdk devices. Whne I debug on those devices it works, The installation of signed aok fails.

Any suggestions?

Upvotes: 0

Views: 81

Answers (2)

Saurabh
Saurabh

Reputation: 995

Use this in your manifest file

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

Upvotes: 1

Egor
Egor

Reputation: 40193

If your application uses any API's that are not available on older Android versions, then you should try to use Support Libraries or just give up on those devices. If the application does run on older emulators in debug mode, then you can just change the minSdkVersion in the manifest to a lower one. Hope this helps.

Upvotes: 0

Related Questions