给应用签名 uid.system platform 权限

在生成的apk目录下放

signapk.jar platform.x509.pem platform.pk8三个文件

可以再froyo源码中找到。

 

1. d:
2. cd D:\foryouworkspace1\Settings
3. adb uninstall com.android.settings
4. java -jar signapk.jar platform.x509.pem platform.pk8 Settings.apk output/Settings.apk
5. 当前目录下创建output文件
6. adb install output/Settings.apk






1. d:
2. cd D:\foryouworkspace1\Initialization\bin
3. adb uninstall com.foryou.init.service
4. java -jar signapk.jar platform.x509.pem platform.pk8 Initialization.apk output/Initialization.apk
5. 当前目录下创建output文件
6. adb install output/Initialization.apk

你可能感兴趣的:(java,android)