{"id":3521,"date":"2024-05-02T04:15:49","date_gmt":"2024-05-02T04:15:49","guid":{"rendered":"https:\/\/voodoo.business\/?p=3521"},"modified":"2026-01-04T21:58:01","modified_gmt":"2026-01-04T21:58:01","slug":"wireless-android-studio","status":"publish","type":"post","link":"https:\/\/www.voodoo.business\/blog\/2024\/05\/02\/wireless-android-studio\/","title":{"rendered":"Wireless android studio"},"content":{"rendered":"\n<p>I run windows in KVM, and the QEMU android Emulator that ships with Android studio crashes all the time, so the obvious solution, with all those android devices I have is to connect a phone to android studio, It is faster and spares me the hassle of finding out why nested virtualization is so terrible<\/p>\n\n\n\n<p>But having a phone connected via USB is not optimal, as i have to pick it up every time i want to run my under development software on it !<\/p>\n\n\n\n<p>The answer seems to be in the<\/p>\n\n\n\n<p>1- install <strong>Android WiFi ADB<\/strong> : A plugin easy to install in Android studio<\/p>\n\n\n\n<p>2- A phone with <strong>Android 11<\/strong> and above<\/p>\n\n\n\n<p>So let us do this step by step<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download SDK platform-tools and install it (Copy it somewhere and add that to your system path)<\/li>\n\n\n\n<li>Enable developer options on the phone (Keep tapping build number)<\/li>\n\n\n\n<li>From developer options, Enable wireless debugging<\/li>\n\n\n\n<li>Select Pair device with pairing code. Take note of the pairing code, IP address, and port number displayed on the device (see the above image).<\/li>\n\n\n\n<li>Open the command prompt and run the command <strong>adb pair ipaddr:port<\/strong><br><strong>adb pair 192.168.7.101:45353<\/strong><br>Enter pairing code: xxxxxx<br>daemon not running; starting now at tcp:5037<br>daemon started successfully<br>Successfully paired to 192.168.7.101:45353 [guid=adb-RF8M4xxxxxxx-xxxxxxx]<\/li>\n\n\n\n<li>Now, to have it appear as a device in android studio&#8230; Go to wireless debugging and notice the port number, then using that IP and port, use the following command<br><strong>adb connect 192.168.7.101:35127<\/strong><\/li>\n\n\n\n<li>Recommended: Install the &#8220;Android WiFI ADB&#8221; plugin in android studio<\/li>\n<\/ol>\n\n\n\n<p>Note: The <strong>Pairing port <\/strong>is not the same as the <strong>connection port <\/strong>! so pay attention to that<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I run windows in KVM, and the QEMU android Emulator that ships with Android studio crashes all the time, so the obvious solution, with all those android devices I have is to connect a phone to android studio, It is faster and spares me the hassle of finding out why nested virtualization is so terrible [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,160],"tags":[],"class_list":["post-3521","post","type-post","status-publish","format-standard","hentry","category-android","category-software-development"],"_links":{"self":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/3521","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/comments?post=3521"}],"version-history":[{"count":12,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/3521\/revisions"}],"predecessor-version":[{"id":6111,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/3521\/revisions\/6111"}],"wp:attachment":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/media?parent=3521"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/categories?post=3521"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/tags?post=3521"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}