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.
source share