Is there a way to debug applications via Wi-Fi or Bluetooth? [Please note that the device is not connected via USB]

For some reason (I don't know what), my phone does not connect via USB for debugging.

I checked that the device drivers were installed correctly and the USB debugging option was checked inside the phone settings.

In this regard, I have encountered difficulties in debugging applications on the device. I always have to export apk and install it on my phone and do some kind of black box testing.

Is there a way to debug applications via Wi-Fi or Bluetooth ...?

NOTE. I am using an Android phone with KitKat 4.4.2 installed.

+6
source share
2 answers

Connecting via wifi requires using the usb cable once (without Rooting). Here is the process for this. How to connect to Android with ADB via TCP?

If usb does not work, you should check debugging via 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

+4
source

IntelliJ and Android Studio plugin designed to quickly connect your Android device via Wi-Fi to install, run and debug your applications without a USB connection. Press one button and forget about your USB cable.

just install the Android WiFi ADB plugin

Download and install Android WiFi ADB directly from Intellij / Android Studio: Settings / Settings-> Plugins-> View repositories

[! [Browse repositories] [2]] [2]

DEVices List

+1
source

Source: https://habr.com/ru/post/988129/


All Articles