异常处理系列:Android开发问题:Failed to install Hello.apk on device 'emulator-5554!

来源:互联网 发布:python内置函数手册 编辑:程序博客网 时间:2024/05/15 19:13
可能是因为加载的.class文件过多的原因,导致了超出了链接时间
Window -> Preferences -> Android->DDMS ->ADB connection time out .修改成大一点如10000
Try changing the ADB connection timeout. I think it defaults that to 5000ms and I changed mine to 10000ms to get rid of that problem. If you are in Eclipse, you can do this by going through Window -> Preferences and then it is in DDMS under Android.
0 0
原创粉丝点击