相关疑难解决方法(0)

如何从我的 Android 应用程序中删除 QUERY_ALL_PACKAGES 权限?

由于 Google 的反馈,我的 Google Play 更新版本已被拒绝 3 次。

\n

“应使用不太广泛的应用程序可见性方法\n我们无法批准您的应用程序\xe2\x80\x99s使用 QUERY_ALL_PACKAGES 权限,因为声明的任务可以使用不太广泛的应用程序可见性方法来完成。”

\n

我的应用程序不需要此权限,并且我尚未在清单文件中声明此权限。

\n

我已将以下查询元素添加到清单文件中以访问 WhatsApp、Gmail 包:

\n
    <queries>\n\n    <package android:name="com.whatsapp" />\n    <package android:name="com.google.android.gm" />\n    <intent>\n        <action android:name="android.intent.action.SEND" />\n        <data android:mimeType="text/plain" />\n    </intent>\n\n    <intent>\n        <action android:name="android.intent.action.SEND" />\n        <data android:mimeType="image/png" />\n    </intent>\n\n    <intent>\n        <action android:name="android.intent.action.VIEW" />\n        <category android:name="android.intent.category.BROWSABLE" />\n        <data android:scheme="https" />\n    </intent>\n\n</queries>\n
Run Code Online (Sandbox Code Playgroud)\n

以下是请求的权限列表:

\n
    <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />\n<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />\n<uses-permission android:name="android.permission.INTERNET" />\n<uses-permission android:name="android.permission.READ_CONTACTS" />\n<!-- Required only if your app targets Android 13. -->\n<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />\n<!-- Required to maintain app …
Run Code Online (Sandbox Code Playgroud)

android android-manifest android-permissions

12
推荐指数
2
解决办法
1万
查看次数

facing below error "tools:node" associated with an element type "uses-permission" is not bound

We are facing issue related manifest marge after changed in merged file error is:

"The prefix "tools" for attribute "tools:node" associated with an element type "uses-permission" is not bound."

Why this error occur and how to solve this ?

We are trying to add line in application tag for override but not solve ,searching more all gives answer to add line in top for tools added this but also not solve.

After replace manifest with old files but also giving …

android android-layout

3
推荐指数
2
解决办法
906
查看次数