Question

We have a Jelly Bean Galaxy Nexus from Google IO, and have all the latest updates to the Android SDK installed - but we are unable to use USB Debugging on the device from Intellij IDEA.

We set our project to compile using the 4.1 SDK, etc.. no luck. Does anyone know how to get USB debugging working on the new Jelly Bean Galaxy Nexus?

(edit) This is being tried from a Mac running OS X 10.7.4 - so in theory drivers should not be an issue?

Was it helpful?

Solution 3

Oddly enough, opening the Android SDK manager and making sure everything is up to date (it was), and then restarting IDEA fixed this. I can now connect to the Galaxy Nexus.

OTHER TIPS

Latest android seems to hide the developer menu in settings, here's the game you have to play to get it back:

  1. Settings->About phone
  2. scroll down to the bottom until you see Build number
  3. click on Build number 7 times

You are now a developer. Go back to the main settings menu and you'll have the developer menu again

I resolved this kind of problem on my Nexus 7 (no problem with my Galaxy Nexus) by changing the usb connection from MTP to PTP.

Go to settings > Storage > corner menu > USB computer connection > select "PTP".

I hope this will solve your problem.

I'm running Mac OS 10.8 and managed to have ADB and the debugger working with the Nexus 7 after installing Google's Filetransfer application:

http://www.android.com/filetransfer/

I have been having issues trying to get IntelliJ to recognize my nexus 7 ever since I installed it. I was about to go back to windows 7 until I found @eyal-lezmy suggestion. Tried it and everything works great. Mind you I tried getting latest drivers for the laptop and from the Android SDK nothing would work till I changed the connection type from mtp to ptp. Also windows detected the device just that IntteliJ would not.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top