How to use nexus 7 for development with mac os

Im setting the eclipse on macOS 10.8 for android development. My Nexus 7 does not appear in the Android device selection list. I have an HTC One S and it works great.

Here is what I have tried.

  • developer mode is allowed in communication
  • installed all Android SDK OS
  • tried to switch between MTP and PTP modes for communication
  • Installed Android file transfer application on Mac.

There are several versions of this question on SO; most of the answers relate to Windows machines. Note that I'm interested in the MacOS solution.

+6
source share
5 answers

I had the same issue and ran into this post. For me, his comment worked. I needed to use a usb data cable strong> - not a cable for charging .

See http://answers.yahoo.com/question/index?qid=20130418072711AA6kqOP

For me, this happened when I used to transfer books to my Kindle.

As soon as I plugged in the correct USB in the upper left corner, Nexus 7 printed

Connect as a camera

USB debugging

I already had USB debugging turned on, and trying to fix this problem, I selected Camera (PTP) instead of media device (MTP) in the Android Settings - Storage -: (Eclipse) - USB computer

+8
source

Reset ADB, moving to the DDMS perspective, look at the View devices and you will see a down arrow with one of the options related to "Reset ADB". I use the same setting, and I have to do this from time to time.

In addition, adb seems more stable if neither MTP or PTP modes are checked.

+2
source

I don't know if this will help you, but I see my Nexus 7 tablet in Google Chrome Canary on Mac OS 10.9.1 after this:

  • Installing Chrome Canary on a Mac - Connected 7: In the settings, click 7 times on the β€œversion” to enable developer mode (no joke).
  • In the general settings of your device, the "developer options" elements appear, click on it and enable USB debugging in the submenu
  • Connect a USB cable between the device and Mac - On your device in Chrome Canary: go to "webbdeveloper tools" and enable USB debugging
  • On the poppy in the canary, your devices will appear at this address:
    chrome: // inspect / # devices

You can test devices using regular debugging tools (you can open URLs and check them) through Chrome Canary.

If I do not understand, the whole procedure is dismantled in the video in the course "Development of Web Mobile" in Udacity.

Good luck

0
source

I also struggled with this. It seems that Nexus 7 devices have problems with data pins in the micro USB slot that is wearing out.

My solution was to

1) explode the port and try to clean the dust. 2) I used a small clip to trim the data pins (internal contacts, 2 external contacts for power).

This worked for me, as now the data pins in the socket are in contact with the cable pins. Be careful!

0
source

Try connecting the Nexus to a USB hub connected to your Mac.

After tearing my hair throughout the day, trying every cable and many troubleshooting steps that I can find on the Internet, I found out that if I plug my Nexus 7 into the crappy little USB hub I use, it works EXCELLENT. If I connect it directly to my Mac, I won’t get anything. (Launching MacOS Sierra 10.12.5 on the late 2013 MacBook Pro Retina BTW.)

0
source

Source: https://habr.com/ru/post/958268/


All Articles