Jon
Jon

Reputation: 8021

Android: confused about compileSdkVersion + targetSdkVersion 23

I want an app to be available in the play store for android M users to download, but the permissions model isn't yet complete for the app. If I set the compileSdkVersion and targetSdkVersion to 22 instead of 23 - will the android M users see the app and be able to dl it (granting all permissions at runtime)?

compileSdkVersion 22

defaultConfig {
    minSdkVersion 15
    targetSdkVersion 22
}

Upvotes: 2

Views: 1470

Answers (1)

Mattia Maestrini
Mattia Maestrini

Reputation: 32780

If I set the compileSdkVersion and targetSdkVersion to 22 instead of 23 - will the android M users see the app and be able to dl it (granting all permissions at runtime)?

Yes, the app will be available to M users and every permission is granted at install time.

A small note, if you use the support libraries v23 you need to set the compileSdkVersion to 23 otherwise you get this error:

This support library should not use a different version (23) than the compileSdkVersion (22)

Upvotes: 9

Related Questions