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?
Run the program in debug modeClick the Run icon in the gutter, then select Modify Run Configuration. Enter arguments in the Program arguments field. Click the Run button near the main method. From the menu, select Debug.
Create a new Android project Launch IntelliJ IDEA. On the Welcome screen, click New Project. If you already have a project open, from the main menu select File | New | Project. In the New Project wizard, select Android on the left.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With