Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 697
Ali_Waris Avatar asked May 29 '15 04:05

Ali_Waris


People also ask

What is debugging over Wi-Fi?

For app developers, the most exciting change is a new feature in Developer Options called “Wireless debugging.” Simply put, Wireless debugging will let you leave your USB cable behind and connect your phone to your computer via ADB completely over Wi-Fi.


2 Answers

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

like image 180
Omer Avatar answered Oct 20 '22 11:10

Omer


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

like image 24
Sahil Bahl Avatar answered Oct 20 '22 11:10

Sahil Bahl