Some articles on the Internet are summarized as follows:
- Run the DEBUG command of eclipse and install your settings on the simulator. the following error occurs:
[11:14:27-settings] Android launch!
[11:14:27-settings] ADB is running normally.
[11:14:27-settings] Ming com. Android. settings. settings activity launch
[5554 11:14:27-settings] Automatic Target mode: preferred AVD 'demo1' is available on emulator' emulator-100'
[11:14:27-settings] Warning: application does not specify an API level requirement!
[11:14:27-settings] device API version is 8 (Android 2.2)
[5554 11:14:27-settings] uploading settings.apk onto device 'emulator-100'
[11:15:00-settings] installing settings.apk...
[2012-03-08 11:15:31-settings] installation error: install_failed_update_incompatible
[11:15:31-settings] Please check logcat output for more details.
[2012-03-08 11:15:31-settings] Launch canceled!
That is to say, the settings signature you write is inconsistent with the settings signature that comes with the system. You must first uninstall the original settings
Uninstall seetings
If Adb uninstall com. Android. settings is uninstalled normally, failure is reported.
The online search method is ADB shell "CD/system/APP; RM settings.apk ;"
However, RM failed for settings.apk, read-only File System
You must first execute this statement (in ADB mode, this is the root permission) ADB remount
Prompt remount succeeded (remount is probably used to improve the read/write permission so that it can operate read-only files)
- Then you can run ADB shell "CD/system/APP; RM settings.apk ;"
- After the deletion is successful, run
ADB uninstall com. Android. Settings
- Uninstalled successfully! Install your settings
Reference http://blog.csdn.net/stonecao/article/details/6460116