草庐IT

PERMISSION

全部标签

java - 标记 <uses-permission> 属性名称具有无效字符 ' '

我在list中不断收到错误。尝试了很多但无法修复。list:我的努力:我试图自己消除错误,但一次又一次失败!在谷歌上搜索....搜索所有可能的链接。任何帮助将不胜感激!提前致谢:)..问题出在debug/AndroidManifest.xml。 最佳答案 我怀疑它与com.google.android.providers.gsf.permission.READ_GSERVICES权限有关。较新的文档没有显示它是位置信息的要求:https://developers.google.com/maps/documentation/andro

android - faSTLane screengrab : "has not requested permission android.permission.CHANGE_CONFIGURATION"

我正在尝试在Nexus5XAPI26模拟器中执行命令faSTLanescreengrab。这是我得到的结果:rcarba$fastlanescreengrab[✔]?[16:00:51]:fastlanedetectedaGemfileinthecurrentdirectory[16:00:51]:howeveritseemslikeyoudon'tuse`bundleexec`[16:00:51]:tolaunchfastlanefaster,pleaseuse[16:00:51]:[16:00:51]:$bundleexecfastlanescreengrab[16:00:51]:

【Android】读写txt文件:open failed: EACCES (Permission denied)

这两天在开发一个androidapp,用途是从手机里读写txt文件。读的时候一直报错:openfailed:EACCES(Permissiondenied)所以就在想哪里出了问题,各种查找,先在manifest添加:后来在manifest的application里添加:后来在activity里添加权限许可:if(Build.VERSION.SDK_INT>22){ListpermissionList=newArrayList();//检查权限if(ContextCompat.checkSelfPermission(this,Manifest.permission.READ_EXTERNAL_S

android - 通过 android.hardware.usb 获取的 USB 权限不适用于 NDK

我能够获得通过Android的USB主机API与设备通信的权限。privatestaticfinalStringACTION_USB_PERMISSION="com.android.example.USB_PERMISSION";protectedvoidexecute(Contextctxt){UsbManagermanager=(UsbManager)viewer.getSystemService(Context.USB_SERVICE);HashMapdeviceList=manager.getDeviceList();UsbDeviced=null;for(Strings:de

android - 是否可以阻止外发短信?

这是我正在使用的代码,publicclassMyCallControllerActivityextendsActivity{staticintCount;/**Calledwhentheactivityisfirstcreated.*/CheckBoxblockAll_cb;//,blockcontacts_cb;BroadcastReceiverCallBlocker;TelephonyManagertelephonyManager;@OverridepublicvoidonCreate(BundlesavedInstanceState){super.onCreate(savedIn

android - 应用程序与我用来开发它的设备不兼容?

我使用各种手机和平板电脑模拟器以及4台真实设备开发和测试了我的应用程序:SamsungGalaxyAce(GT-I8160P)、SamsungGalaxyTab2(GT-P5110和GT-P3110)和StorexM977。经过5个月的工作和测试,该应用程序在所有这些设备上运行良好。所以我将它上传到GooglePlay。但是GooglePlay表明它与我的平板电脑不兼容。我无法在我的GalaxyTabs上使用GooglePlay安装它...我不知道是什么问题。我添加了支持屏幕部分但没有成功。我有点绝望,所以我还添加了这些具有required="false"的使用功能:GPS、网络、电话

android - 为什么基于 GPS 的安卓应用程序没有安装在基于辅助 GPS (A-GPS) 的安卓设备上?

它显示,错误指出“没有符合条件的应用安装设备”设备规范如下,型号:联想A369iAndroid操作系统版本:4.2.2我在androidmainfest文件中执行以下权限请建议 最佳答案 来自GSMArena-LenovoA369i中的规范它指出:A-GPSsupportonly这意味着设备没有独特的GPS组件并且依赖移动网络定位。权限实际上意味着有GPS可用,您可以在没有网络的情况下获取位置信息。ACCESS_FINE_LOCATIONrequiresandroid.hardware.location.gpsandandroid.

java - 应用关闭后未收到推送

在将其标记为重复之前:我至少阅读了15个类似的线程,每个线程要么使用旧的Parse代码(现已弃用的setDefaultPushCallback),要么问题是在Activity中调用Parse.initialize(...)的结果,并且不在应用程序类中。但这不适用于我的情况。官方示例(我正在使用)显然是正确的,因此代码已经在Application类中。我已经下载了PushStarterexamplefromParse'sofficialguides并在模拟器上试用。我仅在应用程序运行时收到推送。在它关闭的那一刻(从“最近的应用程序”列表中删除,而不是强制终止),我不再收到推送。这使得整个

android - 二进制 XML 文件行 # : Error inflating class fragment : Only on Android (6. 0)-Marshmallow

我无法在AndroidM上显示谷歌地图。Hereislayoutxml:AndroidManifestFile:Andinsideapplicationtag:我在运行时请求权限:if(Build.VERSION.SDK_INT>=Build.VERSION_CODES.M&&(checkSelfPermission(Manifest.permission.ACCESS_COARSE_LOCATION)!=PackageManager.PERMISSION_GRANTED||checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCA

android - 0 支持设备在 Google Play 开发者控制台

我在Android应用程序上遇到问题...它在我的设备上运行完美,但在开发者控制台上支持为0。这将是我的AndroidManifest.xml。我检查了它没有错误。我不知道去哪里看。谁能帮帮我。以下是build.gradle的部分内容:defaultConfig{applicationId"xxx"minSdkVersion15targetSdkVersion23versionCode1versionName"1.0.0"} 最佳答案 看看this和this,我认为它可以帮助您解决问题。但总而言之,这可能是由于您的使用权限或使用功能