草庐IT

INSTALLED_APPS

全部标签

android - 权限 : INJECT_EVENTS for Instrumenation to other apps

我知道这不是关于此权限的第一个线程,但是其他线程尚未完成或对我没有帮助。我需要的是使用Instrumentation来扩充KeyEvents。这很好用,而且比shell(“inputkeyevent”)方法快得离谱。但是如果我想注入(inject)到其他应用程序,我会捕获一个SecurityException。这并没有让我感到惊讶,所以我添加了到我的list。Eclipse停止调试,告诉我只有系统应用程序可以使用此权限。所以我使用签名的apk工具进行编译,并将该apk推送到/system/app。重新启动,猜猜看W/PackageManager(3499):Notgrantingper

安卓工作室设置 : android-23 not installed

我今天在两台PC电脑上安装了两次AndroidStudio(版本1.5.1,build141.2456560),现在已经看到这个错误两次了。换句话说,同样的错误出现在两台计算机上,它们都运行Windows10Pro(x64,版本1511,内部版本10586.164)。ThefollowingSDKcomponentwasnotinstalled:android-23问题是什么?我该如何解决这个问题? 最佳答案 这可能是AndroidStudio的安装脚本问题导致的。也可能是没有管理员权限导致的。点击重试!这对我遇到此错误很有帮助。安

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

android - 权限被拒绝 : opening provider com. google.android.apps.photos.contentprovider.MediaContentProvider 不是从 uid 导出的

当我尝试访问之前存储在SharedPreferences中的照片URI时,我的应用仅在android>=6.0(marshmallow)中崩溃。虽然第一次检索图像没有任何错误。我正在使用targetSdkVersion22,这样我就不需要处理API>=23中的运行时权限。我的list文件中的权限我得到的图像如下://DetermineUriofcameraimagetosave.finalFileroot=newFile(Environment.getExternalStorageDirectory()+File.separator+"pics"+File.separator);roo

android - GoogleJsonResponseException : 404 Not Found using google apps endpoint engine backend

我遵循了下面的教程。https://developers.google.com/eclipse/docs/running_and_debugging_2_0这基本上为我现有的应用程序添加了一个GAE后端。然后我尝试下面的例子,在本地开发服务器上运行它,我得到下面发生在之后的异常Noteresult=endpoint.insertNote(note).execute();被调用。com.google.api.client.googleapis.json.GoogleJsonResponseException:404NotFound我的代码如下。packagecom.cloudnotes;

android - 无法启动快捷方式 : Application is not installed on your phone

我正在尝试为我的AndroidActivity之一创建桌面快捷方式。我使用的代码适用于我读过的每个tuto示例:finalIntentshortcutIntent=newIntent(Intent.ACTION_MAIN);ComponentNamename=newComponentName(getPackageName(),".MyActivity");shortcutIntent.setComponent(name);shortcutIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);shortcutIntent.addFlags(Inte

java - Apps 类型未定义方法 getString(int)

如何修复此错误。底部的所有三个字符串都会出现以下错误“未定义Apps类型的方法getString(int)”。请帮忙,我真是个菜鸟。packagecom.actionbarsherlock.sample.fragments;importandroid.content.Context;importandroid.content.res.Resources;publicfinalclassApps{/***Ourdata,part1.*/publicstaticfinalString[]TITLES={"title1","title2","title3"};/***Ourdata,part

Google Apps脚本从联系人返回对象

我的代码:functiontestjson(){varss=SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();vargroup=ContactsApp.getContactGroup('MyFriends');varcontacts=group.getContacts();varjson=JSON.stringify(contacts[0]);Logger.log(json);}使用调试器时,我可以看到返回的联系人变量是18个对象的数组。调试器显然无法“扩展”对象。所以我包括JSON.stringify获取字符串。JSON变量的值为"

android - 如何为 Instant Apps 组织应用程序类

我正在尝试开发一个多功能的免安装应用。我有query和autocomplete功能模块。他们的功能模块中有QueryApplication和AutoCompleteApplication类用于依赖注入(inject)。app模块的list:'base'模块的list:查询模块的list:autocomplete模块的list:当我尝试构建时,出现以下错误:Error:Executionfailedfortask':base:processProductionDebugFeatureManifest'.Manifestmergerfailed:Attributeapplication@n

ERROR: Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly

pipinstall--upgrade-rrequirements.txt-ihttps://mirror.baidu.com/pypi/simpleLookinginindexes:https://mirror.baidu.com/pypi/simpleCollectingprettytableDownloadinghttps://mirror.baidu.com/pypi/packages/5f/ab/64371af206988d7b15c8112c9c277b8eb4618397c01471e52b902a17f59c/prettytable-3.3.0-py3-none-any.whl