DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • Building a 24-Core Docker Swarm Cluster on Banana Pi Zero
  • Dependency Management for C++ Using Maven and Nexus
  • Publishing MuleSoft Common Assets or Libraries to Anypoint Exchange and Nexus
  • [CSF] Raspberry Pi Podcasting Station

Trending

  • Modular Software Architecture: Advantages and Disadvantages of Using Monolith, Microservices and Modular Monolith
  • Hugging Face Is the New GitHub for LLMs
  • Understanding Europe's Cyber Resilience Act and What It Means for You
  • Java Parallel GC Tuning
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. Enabling USB Debugging for Nexus 7 and Windows 8

Enabling USB Debugging for Nexus 7 and Windows 8

Hanu Kommalapati user avatar by
Hanu Kommalapati
·
May. 28, 13 · Interview
Like (0)
Save
Tweet
Share
15.31K Views

Join the DZone community and get the full member experience.

Join For Free

While preparing for my BUILD talk that introduces Windows 8 to Android developers, I went to the nearest GameStop and brought home a brand new Nexus 7 to try it out. I enabled USB debugging before I fired up the IDE.  When I tried to deploy the app to Nexus 7, to my frustration it was not being recognized by ADB. The Nexus 7 device was showing up as a USB drive with obvious name “Nexus 7”. It is good if I wanted to copy files to and from the device but my purpose is to deploy the app and test it out.

After Bing’ing for a couple of minutes I realized that I needed to install Google USB Driver (rev 7). I installed the driver from the SDK Manager.exe and rebooted the box. When I plugged Nexus 7 back in, now my USB drive disappeared and it showed up as a MTP ( Media Device). Still ADB doesn’t see Nexus 7… it was a bit frustrating not a lost cause yet.

Again, Bing to the rescue… I found a thread that was describing the process to show an Android device as a USB drive instead of an MTP device. I also found that if Nexus 7 shows up as a “camera” the ADB may pick up the device. I thought I would give it a shot; from the Settings –>Device->Storage->USB Computer Connection (from the menu), I changed the device to “Camera (PTP)” and ran “adb devices –l” at the command prompt. Voila, ADB lists the device and  ADT was able to deploy the app to Nexus 7!

Here are the high level steps:

  1. Enable Developer Options (settings –> About Tablet –> Build Number (tap 7 times to make Developer Options available in the menu)
  2. Turn on Developer Options (top menu) and USB Debugging
  3. Install Google USB Driver (rev7)
  4. Configure USB Computer Connection (located in the contextual menu of settings—>Storage) to appear Nexus 7 as a camera

Happy development on Windows 8!

USB Nexus (standard)

Published at DZone with permission of Hanu Kommalapati, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Building a 24-Core Docker Swarm Cluster on Banana Pi Zero
  • Dependency Management for C++ Using Maven and Nexus
  • Publishing MuleSoft Common Assets or Libraries to Anypoint Exchange and Nexus
  • [CSF] Raspberry Pi Podcasting Station

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: