更新时间:2023-02-26 22:10:32
您需要添加在manifest文件中的使用许可权
标记(作为一个孩子的清单
元素,同为许可
标记):
You need to add a uses-permission
tag in the manifest file (as a child of the manifest
element, same as the permission
tag):
<uses-permission android:name="android.permission.VIBRATE" />
据我所知,许可
标签仅在下载应用程序时,额外的文本/图形信息添加到权限请求,或者添加新的权限提供额外的信息给用户。我通常使用这两个是安全的。
As far as I know, the permission
tag is only used to add additional text/graphic information to the permissions request when downloading the app, or to add new permissions to provide additional information to your users. I usually use both to be safe.