android – 应用程序请求权限未在清单中请求

android – 应用程序请求权限未在清单中请求,第1张

概述这些都是我在清单中的所有权限: <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="andro 这些都是我在清单中的所有权限:

<uses-permission androID:name="androID.permission.INTERNET" />    <uses-permission androID:name="androID.permission.WRITE_EXTERNAL_STORAGE" />    <uses-permission androID:name="androID.permission.GET_ACCOUNTS" />    <uses-permission androID:name="androID.permission.WAKE_LOCK" />

这就是我尝试安装apk时的样子

你是否知道为什么当应用程序根本不需要这些东西时它会要求这些东西,而清单中没有提到它们?

Nexus 5(AndroID 4.4.2)

编辑:完整清单

<?xml version="1.0" enCoding="utf-8"?><manifest xmlns:androID="http://schemas.androID.com/apk/res/androID"    package="some.name"    androID:versionCode="14"    androID:versionname="0.6.2" >    <uses-sdk        androID:minSdkVersion="9"        androID:targetSdkVersion="19" />    <!--    To filter out tablets and distribute only to handsets up to 7 inches,one cannot directly forbID tablets,but has to List all other    supported compatible screens,see: http://developer.androID.com/guIDe/practices/screens-distribution.HTML#FilteringHandsetApps     -->    <compatible-screens>        <!-- all small size screens -->        <screen androID:screenSize="small" androID:screenDensity="ldpi" />        <screen androID:screenSize="small" androID:screenDensity="mdpi" />        <screen androID:screenSize="small" androID:screenDensity="hdpi" />        <screen androID:screenSize="small" androID:screenDensity="xhdpi" />        <screen androID:screenSize="small" androID:screenDensity="213" />        <screen androID:screenSize="small" androID:screenDensity="480" />        <!-- all normal size screens -->        <screen androID:screenSize="normal" androID:screenDensity="ldpi" />        <screen androID:screenSize="normal" androID:screenDensity="mdpi" />        <screen androID:screenSize="normal" androID:screenDensity="hdpi" />        <screen androID:screenSize="normal" androID:screenDensity="xhdpi" />        <screen androID:screenSize="normal" androID:screenDensity="213" />        <screen androID:screenSize="normal" androID:screenDensity="480" />        <screen androID:screenSize="normal" androID:screenDensity="640" />        <!-- all large size screens -->        <screen androID:screenSize="large" androID:screenDensity="ldpi" />        <screen androID:screenSize="large" androID:screenDensity="mdpi" />        <screen androID:screenSize="large" androID:screenDensity="hdpi" />        <screen androID:screenSize="large" androID:screenDensity="xhdpi" />        <screen androID:screenSize="large" androID:screenDensity="213" />        <screen androID:screenSize="large" androID:screenDensity="480" />        <screen androID:screenSize="large" androID:screenDensity="640" />    </compatible-screens>    <!-- access backend -->    <uses-permission androID:name="androID.permission.INTERNET" />    <!-- allow to cache images on SD card -->    <uses-permission androID:name="androID.permission.WRITE_EXTERNAL_STORAGE" />    <!-- Todo remove for live build - sends email info to crashes in hockey app -->    <uses-permission androID:name="androID.permission.GET_ACCOUNTS" />    <!-- while vIDeo playback is running -->    <uses-permission androID:name="androID.permission.WAKE_LOCK" />    <application        androID:name="some.name"        androID:allowBackup="true"        androID:icon="@drawable/ic_launcher"        androID:label="@string/app_name"        androID:theme="@style/Apptheme" >        <activity            androID:name="some.name"            androID:screenorIEntation="portrait"            androID:configChanges="keyboardHIDden|orIEntation|screenSize"            androID:label="@string/app_name" >            <intent-filter>                <action androID:name="androID.intent.action.MAIN" />                <category androID:name="androID.intent.category.LAUNCHER" />            </intent-filter>        </activity>        <activity            androID:name="some.name"            androID:label="@string/app_name"            androID:windowsoftinputMode="statealwaysHIDden|adjustPan"            androID:theme="@androID:style/theme.NoTitlebar.Fullscreen"            androID:configChanges="keyboardHIDden|orIEntation|screenSize" />        <activity            androID:name="some.name"            androID:theme="@androID:style/theme.Translucent.NoTitlebar.Fullscreen"            androID:label="@string/app_name"            androID:windowsoftinputMode="statealwaysHIDden|adjustPan" />        <activity            androID:name="some.name"            androID:theme="@androID:style/theme.Translucent.NoTitlebar.Fullscreen"            androID:label="@string/app_name"            androID:windowsoftinputMode="statealwaysHIDden|adjustPan" />        <activity            androID:name="some.name"            androID:theme="@androID:style/theme.Translucent.NoTitlebar.Fullscreen"            androID:label="@string/app_name"            androID:windowsoftinputMode="statealwaysHIDden|adjustPan" />    </application></manifest>
解决方法 这是因为,您使用了一些库或jar,它们使用了调用或meesaging的这些功能. 总结

以上是内存溢出为你收集整理的android – 应用程序请求权限未在清单中请求全部内容,希望文章能够帮你解决android – 应用程序请求权限未在清单中请求所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1125128.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-30
下一篇 2022-05-30

发表评论

登录后才能评论

评论列表(0条)

保存