Friday, November 22, 2013

IntelliJ IDEA deploy to android device with error "USB device not found"

I downloaded IntelliJ and created the first android project, but I got "USB device not found" error when I tried to run project in my device.


Solution:
goto the android sdk root directory (noted as <sdk>),

$cd <sdk>/platform-tools 
$./adb kill-server 
$./adb devices

in my mac, I got the message in my terminal:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached 
E616 device

Return to IntelliJ and run, you will found application run in your devices successfully.

No comments:

Post a Comment