Is there any way to debug apps over Wi-Fi or bluetooth? [Please note that the device is not connected via USB]
Solution 1
IntelliJ and Android Studio plugin created to quickly connect your Android device over WiFi to install, run and debug your applications without a USB connected. Press one button and forget about your USB cable.
just install plugin Android WiFi ADB
Download and install Android WiFi ADB directly from Intellij / Android Studio: Preferences/Settings->Plugins->Browse Repositories
[![Browse repositories ][2]][2]
Solution 2
Connecting using wifi requires to use usb wire once(Without Rooting) Here is the process for that How can I connect to Android with ADB over TCP?
If usb is not working you should checkout debugging over bluetooth (Without Rooting)
http://blog.wijono.org/2014/01/android-connecting-adb-to-physical.html
http://zcourts.com/2013/07/19/android-debugging-over-bluetooth-without-root/#sthash.hVCLtWSk.dpbs
Related videos on Youtube
![Ali_Waris](https://i.stack.imgur.com/ZiU0A.png?s=256&g=1)
Comments
-
Ali_Waris almost 2 years
For some reason (I don't know what), my phone is not getting connected over USB for debugging purposes.
I have checked that the device drivers are properly installed and the USB debugging option inside phone settings is checked.
Due to this, I am facing difficulties in debugging apps on device. I always have to export the apk and install it in my phone and do a sort of black box testing.
Is there any way that I could debug apps over Wi-Fi or Bluetooth...?
NOTE : I am using an android phone with KitKat 4.4.2 installed.
-
Chris Stratton about 9 yearsIf MTP works, the remaining issue is presumably a software one, and therefore fixable.
-
-
Joost Verbraeken almost 8 yearsThe second to last link is dead unfortunately, but the last link works perfectly!
-
Gregor Ažbe about 5 yearsI'm using Wifi ADB Ultimate in which you can also connect device with inserting it's IP address. I also tried ADB Wifi Connect, but it didn't work.
-
raj kavadia about 5 yearsit requires 1 time usb insert over 24 hours.
-
raj kavadia about 5 yearsmeans in 24 hours meantime you can connect to wifi adb after disconnecting through wifi adb.