Home » Android » Can I make IntelliJ debug my android applications via the device instead of the emulator?

Can I make IntelliJ debug my android applications via the device instead of the emulator?

Posted by: admin June 15, 2020 Leave a comment

Questions:

I’ve been searching all evening, and I can’t find a way to have IntelliJ deploy my android application to my device via USB debugging. I can’t see any options to specify the target other than a virtual device.

I have device drivers installed, and all updates available to IntelliJ X and the SDK.

Is it even possible? Or only for eclipse?

How to&Answers:

Yes it is possible – just specify in the Run/Debug configuration no virtual device to use and IJ will prompt you where to run the app. If the devices is connected, it will be listed and you can just select it.

This works very well here on OS X.

On windows you may need to install the driver.
Download through the SDK manager Extras-> Google USB driver.
Then go to your SDK\Extras\Google\USB_driver\ folder,
right-click on android_winusb.inf and choose Install.