Marcin Kunert
Marcin Kunert

Reputation: 6285

Supress 6.0 permission model to work like before Android M

Is there a way to supress the new Android M permissions model other than setting the target SDK to 22?

Word of explanation:

We have a quite complex app and upgrading to the new permission will take some considerable amount of time, which (as may be expected) we don't have.

Our project is setup to use the newest build tools which (as I belive) require the target SDK to be 23.

Upvotes: 0

Views: 63

Answers (2)

Viral Patel
Viral Patel

Reputation: 33408

Why would you set your targetSdk and build tools to 23 if you aren't going to use any features of API level 23?

I would suggest just step down your targetSdk and build tools to 22 or whichever you were using earlier.

Upvotes: 0

CommonsWare
CommonsWare

Reputation: 1006869

Is there a way to supress the new Android M permissions model other than setting the target SDK to 22?

No.

Our project is setup to use the newest build tools which (as I belive) require the target SDK to be 23.

No. The build tools do not care about the targetSdkVersion.

Upvotes: 2

Related Questions