Jimmy
Jimmy

Reputation: 16428

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

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?

Upvotes: 8

Views: 8743

Answers (1)

Heiko Rupp
Heiko Rupp

Reputation: 30934

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.

Upvotes: 21

Related Questions