Workaround for Android 6.0 Permissions

2019-09-24 05:34发布

问题:

Is there any way to get around the new Android 6.0 Permissions system if you need to build your App for Android 6.0 and use it on a 6.0 Device?

I ask because there are so many Apps in the App Store which are not asking for any permissions and that's kinda weird. For me that means there are two possibilities.

  1. They all are not compiling their apps for android 6.0
  2. They are somehow getting around the new permissions system using android 6.0

So is there a way around?

回答1:

Change your targetSDK to 22 will work on all device without permissions runtime, If your targetSDK is 23 than you have to set permission you can't overcome this.