{"id":525,"date":"2015-06-23T17:24:20","date_gmt":"2015-06-23T08:24:20","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=525"},"modified":"2017-02-13T14:23:36","modified_gmt":"2017-02-13T05:23:36","slug":"android%e3%81%aewi-fi%e6%8e%a5%e7%b6%9a%e3%83%87%e3%83%90%e3%83%83%e3%82%b0","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/525","title":{"rendered":"Android\u306eWi-Fi\u63a5\u7d9a\u30c7\u30d0\u30c3\u30b0"},"content":{"rendered":"<h2>1. \u30bf\u30fc\u30b2\u30c3\u30c8device(Android\u7aef\u672b)\u3068\u30db\u30b9\u30c8PC\u3092USB\u3067\u63a5\u7d9a\u3059\u308b<\/h2>\n<h2>2. device\u3068\u306e\u63a5\u7d9a\u3092\u78ba\u8a8d\u3059\u308b<\/h2>\n<pre class=\"lang:sh decode:true \" >$ adb devices\r\n* daemon not running. starting it now on port 5037 *\r\n* daemon started successfully *\r\nList of devices attached\r\nCB5A1Qxxxx\tdevice<\/pre>\n<h2>3. adb\u3092TCP\/IP\u30e2\u30fc\u30c9\u3067\u30dd\u30fc\u30c85555\u3092\u958b\u304f\uff08\u518d\u8d77\u52d5\u3059\u308b\uff09<\/h2>\n<pre class=\"lang:sh decode:true \" >$ adb tcpip 5555\r\nrestarting in TCP mode port: 5555<\/pre>\n<p><!--more--><\/p>\n<h2>4. IP\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a\u3057\u3066\u63a5\u7d9a\u3059\u308b<\/h2>\n<pre class=\"lang:sh decode:true \" >$ adb connect 192.168.0.123\r\nconnected to 192.168.0.123:5555<\/pre>\n<p>\u307e\u305f\u306f<\/p>\n<pre class=\"lang:sh decode:true \" >$ adb connect 192.168.0.123:5555<\/pre>\n<h2>5. device\u3068\u306e\u63a5\u7d9a\u3092\u78ba\u8a8d\u3059\u308b<\/h2>\n<pre class=\"lang:sh decode:true \" >$ adb devices\r\nList of devices attached\r\nCB5A1Qxxxx\tdevice\r\n192.168.0.123:5555\tdevice<\/pre>\n<p>&nbsp;<\/p>\n<p>### Android Studio\u3092\u7acb\u3061\u4e0a\u3052\u3066\u30c7\u30d0\u30c3\u30b0\u3059\u308b ###<\/p>\n<p>&nbsp;<\/p>\n<h3>6. USB\u30e2\u30fc\u30c9\u306b\u623b\u3059(TCP\/IP\u30e2\u30fc\u30c9\u3092\u7d42\u4e86\u3059\u308b)<\/p>\n<pre class=\"lang:default decode:true \" >$ adb usb\r\nrestarting in USB mode<\/pre>\n<p>&nbsp;<\/p>\n<h3>\u30b3\u30de\u30f3\u30c9<\/h3>\n<dl>\n<dt>adb<\/dt>\n<dd>Android Debug Bridge<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>1. \u30bf\u30fc\u30b2\u30c3\u30c8device(Android\u7aef\u672b)\u3068\u30db\u30b9\u30c8PC\u3092USB\u3067\u63a5\u7d9a\u3059\u308b 2. device\u3068\u306e\u63a5\u7d9a\u3092\u78ba\u8a8d\u3059\u308b $ adb devices * daemon not running. starting it no [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[17],"class_list":["post-525","post","type-post","status-publish","format-standard","hentry","category-memo","tag-android"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=525"}],"version-history":[{"count":10,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/525\/revisions"}],"predecessor-version":[{"id":570,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/525\/revisions\/570"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}