{"id":1510,"date":"2009-08-07T00:46:43","date_gmt":"2009-08-06T15:46:43","guid":{"rendered":"http:\/\/akimoto.jp\/blog\/?p=1510"},"modified":"2009-08-07T00:46:43","modified_gmt":"2009-08-06T15:46:43","slug":"android-app-strange-debug-mode","status":"publish","type":"post","link":"https:\/\/akimoto.jp\/blog\/2009\/08\/07\/android-app-strange-debug-mode\/","title":{"rendered":"Android\u3067\u30a2\u30d7\u30ea\u4f5c\u3063\u305f\u3051\u3069\u8b0e\u306edebug\u30e2\u30fc\u30c9\u304c\u89e3\u6d88\u3055\u308c\u306a\u304f\u30662\u65e5\u306f\u307e\u3063\u305f\u3067\u3054\u3056\u308b"},"content":{"rendered":"<p>Eclipse+ADT\u306e\u958b\u767a\u74b0\u5883\u304b\u3089USB\u3067\u9001\u308a\u8fbc\u3080\u3068\u307e\u3063\u305f\u304f\u554f\u984c\u306a\u304f\u52d5\u304f\u306e\u306b\u3001.apk\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u3057\u3066\u30b5\u30a4\u30f3\u3057\u3066\u30a6\u30a7\u30d6\u306b\u7f6e\u304d\u3001\u305d\u3053\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u305b\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b9f\u884c\u3059\u308b\u3068\u300c\u30c7\u30d0\u30c3\u30ac\u306b\u63a5\u7d9a\u3057\u3066\u3044\u307e\u3059\u3001\u304a\u5f85\u3061\u304f\u3060\u3055\u3044(&#8220;waiting for debugger&#8221;)\u3068\u3044\u3046\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u51fa\u3066\u30a2\u30d7\u30ea\u304c\u8d77\u52d5\u3057\u3066\u304f\u308c\u306a\u3044\u3001\u3068\u3044\u3046\u73fe\u8c61\u306b\u60a9\u307e\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u30a2\u30d7\u30ea\u3068\u3057\u3066\u914d\u5e03\u3057\u305f\u3051\u3069\u3001\u30c7\u30d0\u30c3\u30ac\u5f85\u3061\u306e\u72b6\u614b\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u73fe\u8c61\u306e\u7406\u7531\u3068\u3057\u3066\u8003\u3048\u3089\u308c\u308b\u539f\u56e0\u3092\u691c\u7d22\u7b49\u3067\u8abf\u3079\u3066\u3044\u304f\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<h3>AndroidManifest.xml\u3067\u660e\u306b\u30c7\u30d0\u30c3\u30b0\u30e2\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b<\/h3>\n<p>application\u3067android:debuggable=&#8221;true&#8221;\u3068\u66f8\u3044\u3066\u3042\u308b\u3068\u3001\u4f5c\u6210\u3055\u308c\u305f\u30a2\u30d7\u30ea\u306f\u5e38\u306b\u30c7\u30d0\u30c3\u30b0\u30e2\u30fc\u30c9\u306b\u306a\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<h3>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u4e2d\u3067Debug.waitForDebugger()\u3092\u547c\u3093\u3067\u3044\u308b<\/h3>\n<p>\u30c7\u30d0\u30c3\u30ac\u3092\u5f85\u3064\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u308c\u3070\u3001\u5f53\u7136\u30ea\u30ea\u30fc\u30b9\u30e2\u30fc\u30c9\u3067\u30d3\u30eb\u30c9\u3057\u3066\u3082\u30c7\u30d0\u30c3\u30ac\u5f85\u3061\u306b\u5165\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u4e2d\u3067\u305d\u306e\u4ed6\u306e\u30c7\u30d0\u30c3\u30b0\u30e2\u30fc\u30c9\u3067\u52d5\u304f\u30af\u30e9\u30b9\u3092\u547c\u3093\u3067\u3044\u308b<\/h3>\n<p>\u3068\u3044\u3046\u66f8\u304d\u8fbc\u307f\u3092\u3069\u3063\u304b\u306eML\u3067\u898b\u305f\u3088\u3046\u306a\u6c17\u304c\u3057\u307e\u3059\u304c\u3001\u547c\u3093\u3060\u3089\u30c7\u30d0\u30c3\u30b0\u30e2\u30fc\u30c9\u306b\u306a\u3063\u3061\u3083\u3046\u30af\u30e9\u30b9\u3063\u3066\u4f55\u3001\u3068\u3044\u3046\u306e\u306f\u66f8\u3044\u3066\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u3053\u308c\u306f\u307b\u3093\u3068\u304b\u3069\u3046\u304b\u308f\u304b\u308a\u307e\u305b\u3093\u3002<\/p>\n<h3>\u30c7\u30d0\u30c3\u30b0\u7248\u304c\u4e0d\u5b8c\u5168\u306b\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b<\/h3>\n<p>USB\u3067\u3064\u306a\u3044\u3067\u5b9f\u6a5f\u3067\u30c7\u30d0\u30c3\u30b0\u306a\u3069\u3057\u3066\u3044\u305f\u5834\u5408\u306b\u3001\u5b9f\u6a5f\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4e00\u89a7\u304b\u3089\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3060\u3051\u3067\u306f\u3001\u7f72\u540d\u95a2\u4fc2\u306a\u3069\u304c\u6b8b\u3063\u3066\u3057\u307e\u3044\u30ea\u30ea\u30fc\u30b9\u7248\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u3053\u3068\u304c\u3042\u308b\u305d\u3046\u3067\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u3001\u3068\u30c7\u30d0\u30c3\u30ac\u5f85\u3061\u3067\u6b62\u307e\u3063\u3066\u3057\u307e\u3046\u3001\u3067\u306f\u75c7\u72b6\u304c\u9055\u3046\u306e\u3067\u53b3\u5bc6\u306b\u306f\u4eca\u56de\u306e\u30c8\u30e9\u30d6\u30eb\u3068\u306f\u95a2\u4fc2\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3002 <a href=\"http:\/\/www.taosoftware.co.jp\/blog\/2009\/01\/android_11.html\">\u53c2\u8003<\/a><\/p>\n<p>\u3053\u308c\u3089\u3092\u4e00\u500b\u305a\u3064\u78ba\u8a8d\u3057\u3066\u3044\u304d\u307e\u3059\u304c\u3001\u7279\u306b\u554f\u984c\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u5b8c\u5168\u624b\u8a70\u307e\u308a\u3067\u30a6\u30f3\u30a6\u30f3\u60a9\u3093\u3067\u306f\u540c\u3058\u624b\u9806\u3092\u7e70\u308a\u8fd4\u3057\u3066\u307e\u3057\u305f\u304c\u3001\u89e3\u6c7a\u65b9\u6cd5\u306f\u610f\u5916\u306a\u3068\u3053\u308d\u306b\u3002<\/p>\n<h3>Android\u3092\u518d\u8d77\u52d5\u3059\u308b<\/h3>\n<p>Android\u5b9f\u6a5f\u3092\u518d\u8d77\u52d5\u3057\u305f\u3089\u3001\u540c\u3058.apk\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3082\u3001\u30c7\u30d0\u30c3\u30ac\u5f85\u3061\u306b\u306f\u306a\u3089\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u643a\u5e2f\u96fb\u8a71\u3060\u3068\u601d\u3046\u3068\u3001\u307b\u3068\u3093\u3069\u96fb\u6e90\u3092\u5207\u308b\u3053\u3068\u304c\u7121\u3044\u306e\u3067\u3059\u3051\u3069\u3001\u4eca\u5ea6\u304b\u3089\u4f55\u304b\u304c\u3046\u307e\u304f\u3044\u304b\u306a\u304b\u3063\u305f\u3068\u304d\u306f\u3001\u30d1\u30bd\u30b3\u30f3\u3068\u540c\u69d8\u306b\u518d\u8d77\u52d5\u3082\u8a66\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u9006\u306b\u3001<a href=\"http:\/\/www.adakoda.com\/android\/000242.html\">\u5b9f\u6a5f\u3067\u30c7\u30d0\u30c3\u30ac\u5b9f\u884c\u3057\u305f\u3044\u306e\u306b\u52d5\u304b\u306a\u3044\u3068\u304d\u306e\u78ba\u8a8d\u9805\u76ee\u306f\u3001\u3053\u3061\u3089\u304c\u8a73\u3057\u3044<\/a>\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Eclipse+ADT\u306e\u958b\u767a\u74b0\u5883\u304b\u3089USB\u3067\u9001\u308a\u8fbc\u3080\u3068\u307e\u3063\u305f\u304f\u554f\u984c\u306a\u304f\u52d5\u304f\u306e\u306b\u3001.apk\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u3057\u3066\u30b5\u30a4\u30f3\u3057\u3066\u30a6\u30a7\u30d6\u306b\u7f6e\u304d\u3001\u305d\u3053\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u305b\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b9f\u884c\u3059\u308b\u3068\u300c\u30c7\u30d0\u30c3\u30ac\u306b\u63a5\u7d9a\u3057\u3066\u3044\u307e\u3059\u3001\u304a\u5f85\u3061\u304f\u3060\u3055\u3044 &hellip; <a href=\"https:\/\/akimoto.jp\/blog\/2009\/08\/07\/android-app-strange-debug-mode\/\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Android\u3067\u30a2\u30d7\u30ea\u4f5c\u3063\u305f\u3051\u3069\u8b0e\u306edebug\u30e2\u30fc\u30c9\u304c\u89e3\u6d88\u3055\u308c\u306a\u304f\u30662\u65e5\u306f\u307e\u3063\u305f\u3067\u3054\u3056\u308b<\/span><\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[951],"tags":[2031,952,954,953,955],"class_list":["post-1510","post","type-post","status-publish","format-standard","hentry","category-android","tag-android","tag-debugger","tag-trouble","tag-waiting-for-debugger","tag-955"],"_links":{"self":[{"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/posts\/1510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/comments?post=1510"}],"version-history":[{"count":2,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/posts\/1510\/revisions"}],"predecessor-version":[{"id":1512,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/posts\/1510\/revisions\/1512"}],"wp:attachment":[{"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/media?parent=1510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/categories?post=1510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/tags?post=1510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}