最烦运行apk时发生错误
解决方法如下,进入eclipse导入的sdk下的paltform-tools目录
哈哈 搞定。
真机测试遇见此错误:
Failed to install Android_test.apk on device '423fa58e': timeout
[2014-01-09 10:14:46 - Android_test] Launch canceled!
解决方法:
方法由简单到麻烦:
1.在window-》prensent....-》android-》设置ddms的timeout时间。这种是就最有效、最简洁的。
2.delete android里面的 apk,保证速度。不过试过一次后,真机好像变 聪明了 ,也出现timeout。
3.Cleaning the project (Project->Clean),不行就重启eclipse或者android,很郁闷的是,重启后运行第一次可以。第二次就开始变慢了,也就是 出现timeout
4.网上一个我没试过的方法:
Don't use spaces in your directory names. If you have files that are in such a directory (e.g., stuff inside of C:Program Files), copy them to another spot that does not have spaces.
很明显是说目录里面不要有空格,排除