再下载了源代码玩玩Android软件开发之应用程序之间的通信介绍http://blog.csdn.net/xys289187120/article/details/6666125
Android游戏开发之多线程的操作方式http://blog.csdn.net/xys289187120/article/details/6706952
结果碰到了问题,
[2011-08-27 12:39:28 - Intent] Re-installation failed due to different application signatures.
[2011-08-27 12:39:28 - Intent] You must perform a full uninstall of the application. WARNING: This will remove the application data!
[2011-08-27 12:39:28 - Intent] Please execute 'adb uninstall cn.m15.xys' in a shell.
[2011-08-27 12:39:28 - Intent] Launch canceled!
如何解决?查了些资料,按如下操作即可:
方法一:先运行android模拟机,并在cmd内运行,当然你要定位adb.exe的目录,我是放在E:\Program Files\Android\android-sdk\platform-tools下
E:\Program Files\Android\android-sdk\platform-tools> adb uninstall com.example.android.apis.
重新运行就可以了----(网友这样的解决方案,我用了不起作用)
方法二:虚拟机里Settings-Applications-Manager applications删除同一开发者的那款APP.(因为估计它们是相同package名,例如:adb uninstall cn.m15.xys所以Please execute 'adb uninstall cn.m15.xys' in a shell.)----(然后重启run,OK!)