{"id":5030,"date":"2019-08-09T21:05:10","date_gmt":"2019-08-09T13:05:10","guid":{"rendered":"https:\/\/unitycoder.com\/blog\/?p=5030"},"modified":"2019-08-09T21:05:10","modified_gmt":"2019-08-09T13:05:10","slug":"deploy-to-android-device-with-wireless-connection","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2019\/08\/09\/deploy-to-android-device-with-wireless-connection\/","title":{"rendered":"Deploy to Android device with wireless connection"},"content":{"rendered":"\n<p>Using windows Command Prompt:<br><br>\/\/ check if your device is present<br><code>adb devices<\/code><br>\/\/ get device ip address (see inet row)<br><code> adb shell ip addr show wlan0<\/code><br>\/\/ enable tcpip and port<br><code>adb tcpip 5555<\/code><br>\/\/ connect device (use your device ip address)<br><code>adb connect 192.168.1.90:5555<\/code><br><br>Now you can remove usb cable, and deploy through wifi.<br>(This works with Oculus Quest and other android based vr devices)<br><br>\/\/ can check if your wireless device is connected<br><code>adb devices<\/code><br><br>\/\/ logcat works too<br><code>adb logcat -s Unity ActivityManager PackageManager dalvikvm DEBUG -v color<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"368\" data-attachment-id=\"5031\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2019\/08\/09\/deploy-to-android-device-with-wireless-connection\/image-14\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/08\/image.png?fit=612%2C368&amp;ssl=1\" data-orig-size=\"612,368\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/08\/image.png?fit=300%2C180&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/08\/image.png?fit=612%2C368&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/08\/image.png?resize=612%2C368&#038;ssl=1\" alt=\"\" class=\"wp-image-5031\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/08\/image.png?w=612&amp;ssl=1 612w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/08\/image.png?resize=300%2C180&amp;ssl=1 300w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Using windows Command Prompt: \/\/ check if your device is presentadb devices\/\/ get device ip address (see inet row) adb shell ip addr show wlan0\/\/ enable tcpip and portadb tcpip 5555\/\/ connect device (use your device ip address)adb connect 192.168.1.90:5555 Now you can remove usb [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5031,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[420],"tags":[1066,197,188,738,1111,509,1112,1110],"class_list":["post-5030","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-adb","tag-android","tag-build","tag-debug","tag-deploy","tag-usb","tag-wifi","tag-wireless"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/08\/image.png?fit=612%2C368&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-1j8","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=5030"}],"version-history":[{"count":1,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5030\/revisions"}],"predecessor-version":[{"id":5032,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5030\/revisions\/5032"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/5031"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=5030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=5030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=5030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}