{"action":"created","issue":{"url":"https://api.github.com/repos/samuelhehe/androiddev_issues/issues/6","labels_url":"https://api.github.com/repos/samuelhehe/androiddev_issues/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/samuelhehe/androiddev_issues/issues/6/comments","events_url":"https://api.github.com/repos/samuelhehe/androiddev_issues/issues/6/events","html_url":"https://github.com/samuelhehe/androiddev_issues/issues/6","id":98494920,"number":6,"title":"Android error: Failed to install *.apk on device *: timeout","user":{"login":"samuelhehe","id":5669999,"avatar_url":"https://avatars.githubusercontent.com/u/5669999?v=3","gravatar_id":"","url":"https://api.github.com/users/samuelhehe","html_url":"https://github.com/samuelhehe","followers_url":"https://api.github.com/users/samuelhehe/followers","following_url":"https://api.github.com/users/samuelhehe/following{/other_user}","gists_url":"https://api.github.com/users/samuelhehe/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelhehe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelhehe/subscriptions","organizations_url":"https://api.github.com/users/samuelhehe/orgs","repos_url":"https://api.github.com/users/samuelhehe/repos","events_url":"https://api.github.com/users/samuelhehe/events{/privacy}","received_events_url":"https://api.github.com/users/samuelhehe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-01T01:05:06Z","updated_at":"2015-08-01T01:14:27Z","closed_at":null,"body":"往测试设备上安装app ，报 timeout  install cancel  error  ， 瞬时间无法安装了 ， 在自己手机上运行就可以， 在公司的测试设备上就不行。 clean ， restart eclipse ， reboot device  之后依然无法解决。 \r\n没办法， google 了一下， 问题解决。 记一下"},"comment":{"url":"https://api.github.com/repos/samuelhehe/androiddev_issues/issues/comments/126843442","html_url":"https://github.com/samuelhehe/androiddev_issues/issues/6#issuecomment-126843442","issue_url":"https://api.github.com/repos/samuelhehe/androiddev_issues/issues/6","id":126843442,"user":{"login":"samuelhehe","id":5669999,"avatar_url":"https://avatars.githubusercontent.com/u/5669999?v=3","gravatar_id":"","url":"https://api.github.com/users/samuelhehe","html_url":"https://github.com/samuelhehe","followers_url":"https://api.github.com/users/samuelhehe/followers","following_url":"https://api.github.com/users/samuelhehe/following{/other_user}","gists_url":"https://api.github.com/users/samuelhehe/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelhehe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelhehe/subscriptions","organizations_url":"https://api.github.com/users/samuelhehe/orgs","repos_url":"https://api.github.com/users/samuelhehe/repos","events_url":"https://api.github.com/users/samuelhehe/events{/privacy}","received_events_url":"https://api.github.com/users/samuelhehe/received_events","type":"User","site_admin":false},"created_at":"2015-08-01T01:14:26Z","updated_at":"2015-08-01T01:14:26Z","body":"解决办法： \r\nWindow -> Preferences -> Android -> DDMS -> ADB Connection Timeout (ms) ，修改一下默认时间 5000 到 10000 ， 问题解决。 \r\n\r\n总结： eclipse  adb 的 install adb connection timeout 太短， 设备性能不好，或者电脑性能不好的好，容易超时，因为install default  time is 5s , is too short for our company pc  run a proj to install app to device . \r\n\r\nhttp://stackoverflow.com/questions/4775603/android-error-failed-to-install-apk-on-device-timeout\r\n"}}