草庐IT

directory-permissions

全部标签

android - 迁移到运行时权限 : How do you find all the current permission uses?

是否有一种简单的方法来识别Android应用进行的所有API调用,这些API调用需要进行调整以在AndroidM(6,API23)中使用运行时权限?看来您只需要通过测试、试错法或专业知识(例如:查阅API文档和您的源代码)来解决问题。我预计Google会发布一个迁移工具,但我还没有看到任何证据。不如果有人在安装后禁用对权限的访问,即使您没有在list中使用运行时权限标签,这样做看起来也会使您的应用容易受到运行时崩溃的影响。p>迁移到运行时权限的最佳做法是什么? 最佳答案 我无法找到任何现有工具,因此我们在Galois的团队采用了我们

android - Facebook SDK : ApiException:The proxied app cannot request publish permissions without having being installed previously

我正在努力使用AndroidfacebookSDK3.5riigthow。一切都适用于我的帐户。现在我把这个应用程序给了我的一个friend,当他登录时,由于这个失败,他没有登录:ApiException:被代理的应用程序在没有事先安装的情况下无法请求发布权限11-1912:18:43.530:W/System.err(13495):com.facebook.FacebookAuthorizationException:UnknownError:ApiException:Theproxiedappcannotrequestpublishpermissionswithouthavingb

permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock

错误:permissiondeniedwhiletryingtoconnecttotheDockerdaemonsocketatunix:///var/run/docker.sock:Get"http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/json":dialunix/var/run/docker.sock:connect:permissiondenied原因:docker进程使用UnixSocket而不是TCP端口,而默认情况下,Unixsocket属于root用户,需要root权限才能访问。解决:docker守护进程启动的时候,会默认赋予名字为

安卓权限拒绝 : Bind_RemoteViews Permission

在我的AppWidgetProvider类中从onReceive或onUpdate启动服务时,我不断收到此错误。09-1511:54:04.096:WARN/ActivityManager(1318):PermissionDenial:AccessingserviceComponentInfo{com.fttech.gameIT/com.fttech.StackWidgetService}frompid=1318,uid=1000requiresandroid.permission.BIND_REMOTEVIEWS我已经在我的AndroidManifest中声明了权限。但它仍然给了我这

android - 安装失败_EAS_POLICY_REJECTED_PERMISSION?

每次我尝试启动我的应用程序时,我都会在控制台中收到此错误[2014-03-0910:26:47-GeocachePlacer]------------------------------[2014-03-0910:26:47-GeocachePlacer]AndroidLaunch![2014-03-0910:26:47-GeocachePlacer]adbisrunningnormally.[2014-03-0910:26:47-GeocachePlacer]Performingdk.rocologo.geocacheplacer.MainActivityactivitylaunch

android - 由于 "Permission Denial"服务无法运行,所需权限为空

我的程序一直运行良好,但我想我一定是不小心更改了一些我不应该做的事情。我让我的程序在按下按钮时运行“UpdateService”,但现在它不运行,并且调试显示以下两行:01-0521:43:39.945:WARN/ActivityManager(98):Permissiondenied:checkComponentPermission()reqUid=1008401-0521:43:39.955:WARN/ActivityManager(98):PermissionDenial:AccessingserviceComponentInfo{com.android.datausagemon

android - Jenkins android 构建失败并显示消息 : FATAL: The Gradle wrapper has not been found in these directories

当我尝试构建android项目时,构建失败并显示以下消息:StartedbyuseradminBuildinginworkspace/Users/Shared/Jenkins/Home/workspace/stable-dev[Gradle]-Launchingbuild.FATAL:TheGradlewrapperhasnotbeenfoundinthesedirectories:/Users/admin/Downloads/android_stable_dev,/Users/Shared/Jenkins/Home/workspace/stable-devBuildstep'Invo

linux 下,为什么明明存在的文件,执行却说 No such file or directory ?

在Linux下,"Nosuchfileordirectory"错误通常与文件的可执行权限或者依赖关系有关。根据你提供的信息,你的文件具有正确的文件类型,并且存在于正确的位置。因此,我们可以排除文件本身的问题。首先,你可以尝试使用"chmod+x"命令为文件添加可执行权限,例如:chmod+xmedia_match然后,再次尝试执行文件,看看问题是否得到解决。如果问题仍然存在,可能是由于缺少文件的依赖项。你可以使用"ldd"命令来查看可执行文件的依赖关系。在你的示例中,"lddmedia_match"返回"notadynamicexecutable",这意味着该文件没有动态链接的依赖项。这进一步

Android 无法完成 session : -26 new target SDK 22 doesn't support runtime permissions but the old target SDK 23 does

我正在尝试安装我在genymotion模拟器上工作的应用程序,我不断收到以下错误。它是一个Reactnative应用程序。10:30:50E/SplitApkInstaller:Failedtofinalizesession:-26:Packagecom.my.projectnewtargetSDK22doesn'tsupportruntimepermissionsbuttheoldtargetSDK23does.Unabletoinstall/home/myProject/android/app/build/outputs/apk/app-debug.apkcom.android.d

unzip: cannot find zipfile directory in one of

下面是执行flutterdoctor后报错内容End-of-central-directorysignaturenotfound.Eitherthisfileisnotazipfile,oritconstitutesonediskofamulti-partarchive.Inthelattercasethecentraldirectoryandzipfilecommentwillbefoundonthelastdisk(s)ofthisarchive.unzip:cannotfindzipfiledirectoryinoneof/Users/liubo/Documents/flutter/bi