{"id":978,"date":"2011-08-03T19:47:20","date_gmt":"2011-08-03T10:47:20","guid":{"rendered":"https:\/\/ecoop.net\/memo\/?p=978"},"modified":"2011-08-22T18:21:32","modified_gmt":"2011-08-22T09:21:32","slug":"launch-error-failed-to-connect-to-remote-vm","status":"publish","type":"post","link":"https:\/\/www.ecoop.net\/memo\/archives\/launch-error-failed-to-connect-to-remote-vm.html","title":{"rendered":"Launch error: \u30ea\u30e2\u30fc\u30c8 VM \u306b\u63a5\u7d9a\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f"},"content":{"rendered":"<p>Android\u958b\u767a\u3092\u3057\u3066\u3044\u3066\u3001\u3042\u308b\u6642\u304b\u3089\u30a2\u30d7\u30ea\u306e\u30c7\u30d0\u30c3\u30b0\u8d77\u52d5\u3067\u6b21\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u56fa\u307e\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre><code>\r\n[2011-08-03 19:14:42 - com.example.testapp] ------------------------------\r\n[2011-08-03 19:14:42 - com.example.testapp] Android Launch!\r\n[2011-08-03 19:14:42 - com.example.testapp] adb is running normally.\r\n[2011-08-03 19:14:42 - com.example.testapp] Performing com.example.testapp.First activity launch\r\n[2011-08-03 19:14:42 - com.example.testapp] Automatic Target Mode: using device 'CB511J0W90'\r\n[2011-08-03 19:14:42 - com.example.testapp] Uploading com.example.testapp.apk onto device 'CB511J0W90'\r\n[2011-08-03 19:14:42 - com.example.testapp] Installing com.example.testapp.apk...\r\n[2011-08-03 19:14:45 - com.example.testapp] \u6210\u529f!\r\n[2011-08-03 19:14:45 - com.example.testapp] Starting activity com.example.testapp.First on device CB511J0W90\r\n[2011-08-03 19:14:45 - com.example.testapp] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.testapp\/.First }\r\n[2011-08-03 19:14:45 - com.example.testapp] Attempting to connect debugger to 'com.example.testapp' on port 8610\r\n[2011-08-03 19:14:45 - com.example.testapp] Launch error: \u30ea\u30e2\u30fc\u30c8 VM \u306b\u63a5\u7d9a\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\r\n<\/code><\/pre>\n<p>\u30dd\u30fc\u30c88610\u756a\u306b\u3064\u306a\u3052\u306a\u3044\u3001\u3068\u8a00\u308f\u308c\u3066\u3044\u308b\u306e\u3067\u8abf\u3079\u3066\u307f\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nC:\\&gt;netstat -an -p tcp \r\n \uff5e\u7565\uff5e\r\n TCP    127.0.0.1:8600         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8601         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8602         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8603         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8604         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8605         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8606         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8607         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8608         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8609         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8610         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8612         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8613         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8614         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8615         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8616         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8620         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8621         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8622         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8623         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8624         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8626         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8627         0.0.0.0:0              LISTENING\r\n TCP    127.0.0.1:8629         0.0.0.0:0              LISTENING\r\n \uff5e\u7565\uff5e\r\n<\/pre>\n<p>\u3068(\u3084\u305f\u3089LISTEN\u3057\u3066\u3044\u308b\u30dd\u30fc\u30c8\u304c\u591a\u3044\u306e\u304c\u6c17\u306b\u306a\u308b\u3082\u306e\u306e)\u3061\u3083\u3093\u3068\u958b\u3044\u3066\u3044\u308b\u3088\u3046\u306b\u898b\u3048\u308b\u3002<br \/>\n\u30dd\u30fc\u30c8\u304c\u7a7a\u3044\u3066\u308b\u306e\u306f\u78ba\u8a8d\u3067\u304d\u305f\u304c\u3001firewall\u306e\u5f71\u97ff\u3092\u53d7\u3051\u3066\u3044\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u306e\u3067\u3055\u3089\u306b\u3057\u3064\u3053\u304fjdb\u30c7\u30d0\u30c3\u30ac\u3067\u8abf\u3079\u3066\u307f\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nC:\\&gt;jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8610\r\nuncaught java.lang.Throwable \u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\r\n\u4fdd\u7559\u3057\u305f uncaught java.lang.Throwable \u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\r\njdb \u306e\u521d\u671f\u5316\u4e2d\u3067\u3059...\r\n&gt; \r\n<\/pre>\n<p>\u554f\u984c\u306a\u304f\u3064\u306a\u3052\u305f\u306e\u3067\u4e00\u65e6quit\u3092\u5165\u529b\u3057\u3066\u7d42\u4e86\u3002<br \/>\n\u3053\u308c\u3067\u7e4b\u3052\u306a\u3051\u308c\u3070Java VM\u5074\u3084\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u554f\u984c\u306e\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3057\u305f\u304c\u3001<br \/>\n\u3053\u308c\u3067\u539f\u56e0\u306fEclipse\u306e\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u3068\u3044\u3046\u3053\u3068\u306b\u3002<\/p>\n<p>\u6539\u3081\u3066Eclipse\u306e\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3059\u308b\u3068\u2026<\/p>\n<p>\u4e00\u822c \u2192 \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a \u2192 \u30d7\u30ed\u30ad\u30b7\u30fc\u306e\u30d0\u30a4\u30d1\u30b9\u3067\u30d7\u30ed\u30ad\u30b7\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u3066\u3001\u3057\u304b\u3082localhost, 127.0.0.1 \u306e\u30d7\u30ed\u30ad\u30b7\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u307e\u3057\u305f\u3002<br \/>\n\u3053\u308c\u3058\u3083\u7e4b\u304c\u308b\u308f\u3051\u306a\u3044\u308f\u306a\u3002<\/p>\n<p>\u30a2\u30af\u30c6\u30a3\u30d6\u30fb\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u304c\u300c\u30cd\u30a4\u30c6\u30a3\u30d6\u300d\u306b\u306a\u3063\u3066\u3044\u3066\u5909\u66f4\u3067\u304d\u306a\u304b\u3063\u305f\u305f\u3081\u300c\u76f4\u63a5\u300d\u306b\u5909\u66f4\u3057\u305f\u4e0a\u3067\u4e0a\u8a18\uff12\u3064\u306e\u30c1\u30a7\u30c3\u30af\u3092\u5916\u3057\u305f\u6240\u7121\u4e8b\u89e3\u6c7a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android\u958b\u767a\u3092\u3057\u3066\u3044\u3066\u3001\u3042\u308b\u6642\u304b\u3089\u30a2\u30d7\u30ea\u306e\u30c7\u30d0\u30c3\u30b0\u8d77\u52d5\u3067\u6b21\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u56fa\u307e\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002 [2011-08-03 19:14:42 &#8211; com.example.testapp] &#8212;&#8212;&#8212;&#8211; &hellip; <a href=\"https:\/\/www.ecoop.net\/memo\/archives\/launch-error-failed-to-connect-to-remote-vm.html\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Launch error: \u30ea\u30e2\u30fc\u30c8 VM \u306b\u63a5\u7d9a\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85],"tags":[65,5,42],"class_list":["post-978","post","type-post","status-publish","format-standard","hentry","category-android-dev","tag-android","tag-eclipse","tag-java"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/comments?post=978"}],"version-history":[{"count":0,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/978\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/media?parent=978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/categories?post=978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/tags?post=978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}