Questions tagged [usb-debugging]

USB debugging enables Android developers to remotely control devices.

USB debugging (also called remote debugging) is an Android developer option. It facilitates operating mobile devices using a desktop computer.

It usually suffices to have an USB driver installed suitable for the device being debugged. Google Chrome is then used to inspect connected devices. Naturally, the “USB debugging” setting needs to be activated on the respective device. Another common means of accessing USB debugging options is ADB.

For further reading, see Remote Debugging Android Devices at Google Developers.

231 questions
0
votes
1 answer

Connecting smartphone to pc if the phone is locked

I read that i can use USB Debugging and adb to copy my phone data even if its is locked .But my Ubuntu -14.10 does not detect the smartphone unless i unlock it.Any suggestions ? Tried both Usb 2.0 and 3.0
0
votes
1 answer

Phone not getting listed in devices window in eclipse upon usb connection

I have Asus Zenfone2 and I want to do usb debugging for android on my phone. I have done the following: enabled USB debugging from developer options. Downloaded OEM driver for Zenfone 2 from here. Unzipped the downloaded file. It had the following…
SwatiBhalla
  • 39
  • 1
  • 6
0
votes
1 answer

Android Studio USB Debugging Google Play Services Out Of Date

I'm using Android Studio 1.2 and I'm trying to run an app (that requires Google Maps) using USB Debugging. My phone is running Android 4.1.2 (API 16 - Sony Xperia T). On Android Studio I was able to run successfully the app using Android 5.0.1…
0
votes
1 answer

Android Studio doesn't have the permission to install apk copied on /data/local/tmp

While running my android application on my device Android Studio shows the device with its name properly and while selecting the device to run it gives the error:- Installing com.example.android.borderlessbuttons DEVICE SHELL COMMAND: pm install -r…
0
votes
0 answers

Tracing traffic in Linux-based usb gadget (CDC/NCM)

I have a linux platform* that is connected as a usb device to an automotive device which acts as the USB host. The two devices should communicate over CDC/NCM, but the linux platform is not recognised by the automotive device and therefore the…
Stefan Riesen
  • 101
  • 10
0
votes
1 answer

usb debugging with micromax unit a092 in ubuntu 12.04

I am using Micromax Unite A092, for USB debugging in Ubuntu 12.04. I enabled "USB debugging" from developer options and "connected as a media device". But ./adb devices does not show it. I tried SUBSYSTEMS=="usb", ATTRS{idVendor}=="1c9e",…
umesh
  • 1,148
  • 1
  • 12
  • 25
0
votes
1 answer

Eclipse does not detect my sony xperia C2004 device

Eclipse is not able to detect my phone xperia C2004 device. I have installed sony PC companion. The PC companion detects my phone and I am able to transfer the media . -I have enabled the debugging mode on my device . -USB connection mode is Mass…
0
votes
1 answer

All Android devices not recognized

I know that there is a lot of posts about this but none of which i saw helped me. I got a new computer with windows 7 pro (64 bit) and i downloaded the eclipse-adt. I have checked that the google usb_driver was installed. I plugged in my devices…
Mr T.
  • 4,278
  • 9
  • 44
  • 61
0
votes
1 answer

How do you test android APK files on Galaxy S5?

I was trying to install an APK file generated by an android build. I was using Galaxy S5. I plugged the phone in via USB to my computer but adb was unable to detect the device. $ adb devices List of devices attached What do I do to make this phone…
Jack Shultz
  • 2,031
  • 2
  • 30
  • 53
0
votes
0 answers

Galaxy Tab 3, turning on USB Debugging crashes USB driver

Can't get the device drivers working 100% for a Galaxy Tab 3. The driver install seems to complete normally. Initially, the tablet appears to be discovered normally, and appears OK in the 'file system', where I can browse through the tablet's…
John
  • 1,635
  • 15
  • 22
0
votes
2 answers

Can't use USB debugging after ART

I was testing new Android Run Time (ART), but after that I can't use USB debugging. After that I had changed runtime back do Dalvik and factory reset phone with no success? I also have updated drivers.
Matjaž
  • 2,096
  • 3
  • 35
  • 55
0
votes
3 answers

Usb Debugging not working after rebooting pc

I am developing android apps in eclipse. everything is working fine two days ago. due to some reason i had to install a fresh copy of windows, in new window I installed jdk-7u51-windows-i586 and start eclipse. now USB debugging with real device is…
user2660030
0
votes
0 answers

App state remains consistent only when plugged into USB but not on emulator

I'm pretty confused as to why this is. When I close and open my app on my phone without killing the process, it reopens as if it was never open to begin with. If I continue to use the app that was sent via USB debugging after disconnecting the…
SaxSalute
  • 349
  • 2
  • 8
0
votes
2 answers

Android Samsung Young 4.1.2 S6310 enable USB debugging

When I try to enable it it's just grayed out, I have tried disconnecting the USB, installing the drivers, turning on the developer options yet it just remains grayed out. I can only connect to my PC via MTP and PTP and neither enable USD…
user3287662
  • 15
  • 1
  • 4
0
votes
2 answers

Flash Pro, debugging trough usb with Motorola Moto g

That's about it, I'm trying to get the debug to USB option on Flash CS5 with my new Moto g but I can't find the way to get it. I've allowed USB debugging on the phone. I´ve Motorola Device Manager installed (with the drivers) but if I uncheck the…
Heguemo
  • 1
  • 4