禁止 6.0 权限模型像以前一样工作 Android M

Supress 6.0 permission model to work like before Android M

除了将目标 SDK 设置为 22 之外,还有其他方法可以抑制新的 Android M 权限模型吗?

字词解释:

我们有一个相当复杂的应用程序,升级到新权限需要相当长的时间,而(正如预期的那样)我们没有。

我们的项目设置为使用最新的构建工具(我相信)要求目标 SDK 为 23。

如果您不打算使用 API 级别 23 的任何功能,为什么要将 targetSdk 和构建工具设置为 23?

我建议将您的 targetSdk 和构建工具降级为 22 或您之前使用的任何一个。

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

没有

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

没有。构建工具不关心 targetSdkVersion.