"Content provider not found to revoke permission: file: /// data / local in sencha touch application

I get "No content provider found to revoke permission: file: ///data/local/tmp/Restaurant.apk". I am using an nxus 7 tablet through ddms for debugging. The application is just made in sencha touch 2. I am using SDK 2.1.1, with cmd 3.1.2.

I noticed that this happened when I installed a newer version of the SDK and cmd.Do I need to change my path if I install a newer version? I noticed that the SDK folder is missing in the structure after creating the application? Please, help.

+4
source share
1 answer

Look for another error message

No content provider found or permission revoke - a warning that may not mean anything bad. In the case of installing the package, I examined this only warning that the package URI does not contain part of the permissions (userid / password). handleStartCopy (), (within /base/services/java/com/android/server/pm/PackageManagerService.java):

 mContext.grantUriPermission(DEFAULT_CONTAINER_PACKAGE, mPackageURI, Intent.FLAG_GRANT_READ_URI_PERMISSION); 

some work, then:

 mContext.revokeUriPermission(mPackageURI, Intent.FLAG_GRANT_READ_URI_PERMISSION); 

the message is true but inconsequential. (removeUriPermission () is in frameworks / base / services / java / com / android / server / pm / ActivityManagerService.java)

For me, this part of the .apk installation process worked - despite the warning. Check logcat for other messages that may indicate why this failed.

0
source

Source: https://habr.com/ru/post/1485108/


All Articles