调试信息如下:
[2011-06-09 10:08:37 - ApiDemos] Re-installation failed due to different application signatures.
[2011-06-09 10:08:37 - ApiDemos] You must perform a full uninstall of the application. WARNING: This will remove the application data!
[2011-06-09 10:08:37 - ApiDemos] Please execute 'adb uninstall com.example.android.apis' in a shell.
[2011-06-09 10:08:37 - ApiDemos] Launch canceled!
在网上查是这样的:
[2011-06-09 10:08:37 - ApiDemos] Re-installation failed due to different application signatures.
[2011-06-09 10:08:37 - ApiDemos] You must perform a full uninstall of the application. WARNING: This will remove the application data!
[2011-06-09 10:08:37 - ApiDemos] Please execute 'adb uninstall com.example.android.apis' in a shell.
[2011-06-09 10:08:37 - ApiDemos] Launch canceled!
在网上查是这样的:
这时先运行android模拟机,并在cmd内运行,当然你要定位adb.exe的目录,我是放在E:\android\android-sdk-windows\tools 下
cd:\E:\android\android-sdk-windows\tools> adb uninstall com.example.android.apis.(这里这些是在调试中提示的错误信息!只要重新运行下即可)
重新运行就可以了