androidintellij-ideawirelessadbadbwireless

Auto wireless connect Android device and IntelliJ via adb


I am using IntelliJ to develop Android application. On my device I've installed adbWireless which allow me to debug application via WiFi.

To connect my PC with device I have to call in terminal

adb connect 192.168.1.105:5555

and since now I can run debug in IntelliJ.

Is it possible to configure IntelliJ to do it automatically if device is disconnected ?


Solution

  • I'm afraid it's not possible, however you can configure an External Tool and bind it to hotkey, you can probably also create a macro which will first run your external tool and then start debugging.