Android 可以在安装时(在清单中)请求正常级别的权限吗?

Can Android normal level permissions be requested at installation time (in the manifest)?

在Android以后的版本中(比如8.0.0),我们是否还能在manifest中声明正常级别权限,比如INTERNET权限,并期望它是安装时授予?

<uses-permission android:name="android.permission.INTERNET" />

还是需要通过代码明确请求?

如果是第二个,我们是否需要在每个 activity 上都要求它?

can we still declare normal level permissions in the manifest, like INTERNET permission and expect it to be granted at installation time?

是的。只有 dangerous 个需要在运行时请求。

是的,您可以在清单中声明正常级别的权限。但是在 6.0 及更高版本中,您必须在运行时检查用户是否授予权限。