Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij Idea does not find my android device

Hi I want to do some test app that uses sound recording, but it doesn't work in the emulator. I need to test it on my phone but every time I change the option to use USB, it never detects my Wildfire S ... which is connected and in USB debugging mode.

It says "No USB Device Found".

Using 11.1.2

Any ideas?

like image 647
sprocket12 Avatar asked Jul 14 '12 21:07

sprocket12


People also ask

Why my phone is not detected in Android Studio?

If your device is not correctly detected in RAD Studio or in the system Device Manager, check the following: Ensure that your Android device is unlocked and not sleeping while connected via USB. Set the appropriate option in Settings or Developer Options. Make sure your Android device is enabled for USB debugging.

Can I use IntelliJ IDEA for Android?

Are Android Studio projects compatible with IntelliJ IDEA? Yes, the two IDEs use the same project format.

How do I get Android SDK for IntelliJ?

From the main menu, select File | Project Structure | Project Settings | Project. If the necessary SDK is already defined in IntelliJ IDEA, select it from the SDK list. If the SDK is installed on your computer, but not defined in the IDE, select Add SDK | 'SDK name', and specify the path to the SDK home directory.


4 Answers

This works for me:

  1. Unblock developers settings in your phone (link)
  2. Ensure your Adb USB driver is installed (Windows 8 and 8.1 solution):

    • Connect your device via usb
    • Right Click on 'This PC' (My Computer) -> Manage -> Device Manager -> Other devices
    • If usb driver is not installed, in 'Other dvices' will appear your phone
    • Download ADP USB driver for your phone (common drivers list)
    • Right click on your device -> Update Driver Software -> Browse your computer for downloaded driver directory
    • Click Next and install drivers.
    • You can receive error like this:

      A problem was encountered while attempting to add the driver to the store.

    • Handle error with unblocking unsigned drivers installation
  3. IDE is still not recognize your phone

    • try run command (set PATH if command is not recognized ) :
      adb devices

    • with result like this:

      adb server is out of date. killing... daemon started successfully `

    • IDE should now recognize your device

like image 90
Michał Jarzyna Avatar answered Sep 21 '22 12:09

Michał Jarzyna


I came across this problem today and was getting increasingly frustrated until I found this blog post: http://vuknikolic.me/2013/03/10/idea-intellij-usb-device-not-found-android-problem/

Basically, you want to run two commands:

adb kill-server
adb devices

When you run the second command, it will restart the server and you should see your device listed:

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
37329B0B96FD00EC    device

If you try running the application again from IntelliJ (or Android Studio), it should work if your device was listed above.

like image 28
sobering Avatar answered Sep 21 '22 12:09

sobering


Problem was solved by installing HTC Sync it installed the correct driver and allowed me to detect the device.

like image 40
sprocket12 Avatar answered Sep 20 '22 12:09

sprocket12


It could be the configuration of your phone. Open the developer settings and make sure that the option of USB Configuration is in:

MIDI

like image 27
Joao Vitor Marques Avatar answered Sep 21 '22 12:09

Joao Vitor Marques