昨天想做一个关于相机操作的小例子,找了相关的资料。可是总想找一个例子对照着做,就在谷歌中查找。经过查找发现在下载的SDk文件夹下,居然有很多的例子代码。把这些代码放到myeclipse中运行起来, 发现代码还是挺实用。
部署过程中如果出现,如下错误:
[2012-02-07 17:40:09 - ApiDemos] Re-installation failed due to different application signatures.
[2012-02-07 17:40:09 - ApiDemos] You must perform a full uninstall of the application. WARNING: This will remove the application data!
[2012-02-07 17:40:09 - ApiDemos] Please execute 'adb uninstall com.example.android.apis' in a shell.
[2012-02-07 17:40:09 - ApiDemos] Launch canceled!
请根据提示在命令行中执行 adb uninstall com.example.android.apis 命令即可。
从这件事情我知道了英语真的很重要,一定要学好。
希望对大家有所帮助!