Connecting Nexus 9 in adb - android

I have a problem connecting nexus 9 as a ADB device. Whenever I plug in Nexus 9, Windows 7 automatically detects it and installs it as a portable device. I uninstalled it but every time I plug it again it makes it portable device. I tried to update the driver and show the location of the driver I downloaded, it keeps on saying that it has the latest MTP driver.
I have the Nexus 9 in developer mode, PTP mode and also the debugging is on.
What should I do? How do I connect it for development?
Thanks

Did you turn on USB debugging on device (Settings->Developer Options->USB Debugging)? If not, machine won't recognize device as ADB.

I have found the Nexus 9 to be fussy regarding USB cables. I have various cables which work fine with adb and my Nexus 5 but they don't work with my Nexus 9 in MTP or PTP mode.
The only USB cable I can get to work is the one which came with my Nexus 9.
Its actually a Motorola cable with a hologram sticker on it. Although this may not be what ships standard with the device since I bought it without original packing.

Install MoboRobo or moboginie on your pc if you are using widnows.It'll definitely work.

Related

Android Studio - Device Offline

I am having a small issue with Android Studio. Whenever I put my phone into either of the front two USB ports, it shows my device as "Offline". If I use any of the back USB ports, it recognises the device perfectly fine.
I can charge and browse my phone fine from the front two USB ports. I have tried resetting ADB, and installing/updating Samsung USB drivers. I have tried enabling and disabling USB debugging - but no luck.
It really can't be an issue with the phone or with Android Studio, as in the back USB ports it works fine - surely it has to be an issue with the front USB port?
Anybody have any ideas on how I could solve this? (Other than just using the back ones!)
I have the same problem. I have 4 USB 3.0 ports on the computer and 2 USB 2.0 on the keyboard. Nexus 5 can be plugged and recognized on all of them while Samsung Galaxy S4 is not recognized on one of the keyboard ports and one of the PC ports. In my case it is the device I guess. You can try with another device to see.
You can try this:
Go to tools/enable adb integration and uncheck it.
now check it and run again. Next time, android studio will restart adb and it may find your device.

Android USB Connection Not Working

I can't seem to connect my Samsung Galaxy Note II (N7100) to my Windows 8 Machine (aiming to use the phone for debugging - but current can't even connect the device as mass storage). No USB notification is shown when connecting the mobile by cable.
Things I have checked thus far:
USB Cable (works on different machine and with HTC phone)
USB Ports (tried different ports, 2.0 and 3.0, all working)
PC USB Drivers
Phone (connects to my Win 7 machine)
Samsung Kies (and Samsung driver) and Google USB Driver both installed
PS. The reason Im asking this here is because I'm aiming to use the phone for development and I'm hoping to get some answers that aren't "have you double checked the cable?" like on every Google search I have performed so far. Hopefully another developer recognises this issue.
OK. so You've obviously done the basics and made sure all the cabling is functional.
it sounds like the Volume is not mounting in windows 8
if it's not detected in Windows Device Manager, and More importantly, if it's not visible in Disk Management, then the volume simply is not Mounting.
I would suggest
Try connecting to a Windows 7 Machine and see if it works, if it does, Then Most likely you need Windows 8 Drivers
I would be contacting Samsung Engineers for support on the Issue
What version of Kies are you using
i found this that might be useful for you
Ultimately, as you know the volume is not mounting due to Driver issues, and this needs to be resolved if you are to have a solution
You could always Try setting up XP Mode in Windows 8 and see if it recognizes that way.
Granted this is a bit of a workaround and a bit stuffy, but. Hey, it's another option.
let me know how you go
Go to dial pad & type *#0808#
It displays USB settings
Select MTP+ADB option
Press OK button
Connect to USB cable to PC
It shows Connected as a media device."

Windows 7 can recognize only one Nexus 7 tablet. It can't see a new one

I hope someone can help me.I could connect my windows 7 machine and Eclipse successfully to my nexus 7. I lost my tablet and I bought the new one but now my windows machine can't even recognize it as external device neither my Eclipse works with it anymore. Does windows 7 keeps USB ID somewhere? Should I re install something?I appreciate your help.
Be sure that you have USB Debugging enabled.
Open up Device Manager. Do you see a tab for ADB Devices? Do you see your N7 anywhere on the list?
If not, on your tablet, go in and change the PC Connection mode to whichever one it is not on. And then try again.
I have had problems with my N7 as well where it will only connect when set to a certain connection type.
I have found that if Eclipse is not installed on the computer, the computer is able to see multiple Nexus 7 tablets as MTP devices. However, for computers that have Eclipse installed on them they can only see the first Nexus 7 tablet connected to them as an MTP device. All other tablets connected to the computer are seen as an unspecified device. It seems like Eclipse is storing a unique identifier from the first tablet associated with it. The only way I can get apps built in Eclipse onto my other Nexus 7 tablets is to change the usb connection to PTP (not MTP) and then my windows 7 computer sees my tablet as a camera and I can move the .apk file over to the tablet. Is this how it's suppose to work?

Connect Nexus 7 to Android phone using ADB

I am working on a interesting problem. I want to debug my android phone from my nexus 7 tablet.
I have managed to connect the two devices using USB cable and the nexus 7 is in host mode, however the phone is only recognized as a camera or a storage device.
I have terminal up and running on my nexus 7. I am running adb but cannot see the connected samsung s3 device.
Has anyone done something like this? Any ideas on what can be done here?
Thanks and appreciate your help.
I tried doing the same thing thru the Terminalemulator. I got the same results as you first, then I tried to pull the USB cables from the three intersections, and replacing it again:
in phone
between OTG and standard cable
in nexus 7
I got it to work when I pulled it out from the nexus 7 (host) and replaced it.
I have a rooted nexus 7 but it did not seem to need any su permisions. It also worked to put a USB hub between the two devices and add a keyboard so that the terminal operation was smoother.
I hope that you get it to work, it is a pretty cool feature!

Android Phone stopped notifiying about usb connection with PC

I've a Samsung Galaxy S2 device which I had been using for Android development through adb for almost two month. A few days ago it just stoppt detecting the usb connection with my Thinkpad T420. Here are the odd facts:
problem appears only on this single laptop but across operating systems (multi-boot): windows 7, fedora 15, ubuntu 11.04; they all worked fine before
the device in question charges but does not show the "usb connected" notification
there are no udev events at all (checked with shell command 'udevadm monitor')
an other Samsung Galaxy S2 and other usb devices are working fine with the same cable on the same usb-port
the device in question works as expected with other computers (OSX and Ubuntu), eg. shows the 'usb connected' notification and can be mounted or used with adb
Are there other options then to try a full factory reset?
By pure luck I plugged the cable into the device while the Android OS was switching to offline mode (selected from the menu which appears when long-pressing the power button). That did the trick!
After some experiments I can verify using the transitions between offline and online mode to plug the cable into the PC is a workaround -- not a fix to the problem.

Categories

Resources