Is there any way to debug apps over Wi-Fi or bluetooth? [Please note that the device is not connected via USB]
Asked Answered
N

2

17

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.

Necktie answered 29/5, 2015 at 4:47 Comment(8)
Essentially, no. A stock device won't support ADB-over-TCP unless you first use ADB-over-USB to tell it to.Celerity
@ChrisStratton Although, my device gets connected in MTP mode, that means connection with computer is established, I am just not able to debug. :(Necktie
If MTP works, the remaining issue is presumably a software one, and therefore fixable.Celerity
@ChrisStratton : Can you help me finding a fix for it..?Necktie
See also, android.stackexchange.com/q/6949/59983Ewall
Using Wifi ADB Ultimate you can also connect device without usage of USB cable for first time. You just insert device's IP address of device.Saccharometer
Hello. I read that some USB-cables don't have data transfer ability, just electric charging.Petiolate
Android 11+ has a developer option Wireless Debugging. Then use adb pair ipaddr:port developer.android.com/studio/command-line/…Nalley
A
17

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]

DEvices list

Alcatraz answered 2/12, 2017 at 7:40 Comment(3)
I'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.Saccharometer
it requires 1 time usb insert over 24 hours.Cahill
means in 24 hours meantime you can connect to wifi adb after disconnecting through wifi adb.Cahill
P
6

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

Pithy answered 31/5, 2015 at 14:5 Comment(1)
The second to last link is dead unfortunately, but the last link works perfectly!Proprietary

© 2022 - 2024 — McMap. All rights reserved.