开发者

how to install android application in factory test mode

I am trying to install android application in factory test mode. I make device(beagle board) to enter into factory test mode with corresponding android froyo 开发者_开发知识库build. It is entering factory test mode successfully, and when I try to install an application from ADB shell, it shows the following error

(ERROR : could not find package manager,Is the system running?)

I am using required permission in manifest file. But it is showing above error. any help would be greatly appreciated.

<uses-permission android:name="android.permission.FACTORY_TEST"></uses-permission>


This permission is granted only to the system applications or the application that is signed with "Firmware key"(The key used to sign the system applications). If u have firmware key then add this tag in AndroidManifest and sign ur application with that key.

     android:sharedUserId="android.uid.system"

U can get firmware key if u r working with device manufacturer ow forget it!! Refer this::

enter link description here


i think it is related to the certificate you are using. you require a manufacturer certificate to sign your app in order to access this kind of permission

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜