无论是用户还是10051当前进程具有android.permission.INSTALL_PACKAGES [英] Neither user 10051 nor current process has android.permission.INSTALL_PACKAGES
问题描述
我的项目有无人值守安装的问题。我的项目需要许可android.permission.INSTALL_PACKAGES
,但权限系统的权限。如何使用这个权限?
错误:java.lang.SecurityException异常:无论是用户还是10051当前进程具有android.permission.INSTALL_PACKAGES。
NAME =android.permission.INSTALL_PACKAGES <:
我的 此权限只授予系统应用。为了得到这个许可,您的应用程序: 1)必须使用系统证书进行签名。这些证书一般只提供给设备制造商。 2)被安装在/系统/应用程序分区。 My project has a problem of Silent Installation. my project need the permission My This permission is only given to system apps. In order to get this permission, your app: 1) must be signed with the system certificates. These certificates are generally available only to the device manufacturers. 2) be installed in /system/app partition. 这篇关于无论是用户还是10051当前进程具有android.permission.INSTALL_PACKAGES的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!的AndroidManifest.xml
增加了使用许可权的android / p>
"android.permission.INSTALL_PACKAGES"
,but the permission is system permission. How to use this permission?error: java.lang.SecurityException: Neither user 10051 nor current process has android.permission.INSTALL_PACKAGES.
AndroidManifest.xml
has added uses-permission android:name="android.permission.INSTALL_PACKAGES"