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
1
vote
1 answer

Error in setting up Android usb debugging in ubuntu 14.10

I have a android phone from LG, and I want to use it for USB debugging. I followed the following steps: 1. Enabled usb debugging in developers option on phone. 2. After connecting to PC, phone shows as "Usb debugging connected". I verified the same…
GOKU
  • 221
  • 2
  • 6
1
vote
2 answers

Exported APK works fine. But via USB debugging not working

When I export my Android application as APK and install it in the device it is working properly. But if I try to launch the same Android application on Device via USB Debugging mode, I'm getting following error: Installation error:…
Gokul Nath KP
  • 15,485
  • 24
  • 88
  • 126
1
vote
1 answer

Finding the URL of a requested webpage

Does anybody know how to 1) Detect if a web page is being opened/requested on an Android phone, and 2) Find the name/URL of that Webpage? Thanks so much for any help. UPDATE: The detection needs to be done on the phone.
GNP284
  • 31
  • 6
1
vote
0 answers

Android Debugging not working in Micromax

I am using a Micromax P280 android tablet to test my app using cordova. The app is working fine with genymotion emulator and on my Sony Xperia L. Doesn't know what going wrong with the tablet. As per this http://fileit.in/p/276 link i tried creating…
Sneha S
  • 288
  • 3
  • 17
1
vote
0 answers

How to check if my android phone supports the use of systrace debugging?

I have read that some phones, specifically kernels do not support the use of systrace. It hit me when the same pc configuration that does not work on my phone works on my emulator. So ultimately my question is: How to check if my android phone…
reubenjohn
  • 1,351
  • 1
  • 18
  • 43
1
vote
2 answers

Device not showing in eclipse even if USB debugging is on

Eclipse shows my Xperia S device but doesn't show my Xperia neo V . USB debugging is ON on my device. I have Plug in device USB Desktop "My Computer" right click -> "Manager" Choose "Device Manager" Portable Device "Update Driver software" When…
Faye
  • 127
  • 1
  • 1
  • 14
1
vote
0 answers

Usb Debugging connected state

Is there any way to findout the device connected to PC with USB debugging? Inside the app. not from ADB Clarification: It's not about checking USB Debugging on [Assume it's always on] Not Listening to this event I tried with following…
Mahendran
  • 2,719
  • 5
  • 28
  • 50
1
vote
1 answer

Android 4.2.2+ Secure USB debugging OK screen reinstatement

I was debugging a new app on a Nexus 7 and all was OK. About 1 month ago, I think my old Nexus 7 was upgraded to Android 4.3. I think it offered me a screen entitled "Allow USB debugging?", but I was busy and hit cancel to get it off my screen. I…
1
vote
1 answer

Cannot Install This Hardware - Android Hardware Device Setup

I ran into a problem trying to set up a hardware device for testing Android applications using Eclipse. After following the "Using Hardware Devices" guide from Android and going to their link in step 3 I attempted to follow the steps there. I went…
MikaylaRay44
  • 83
  • 1
  • 7
1
vote
1 answer

Android 4.x on HTC One - USB debugging mode automatically turns itself off

I just got an HTC One (T-Mobile) for testing an application we're developing. Currently the app requires USB Debugging to be switched on. With the HTC One, running Android 4.1.1, I can switch USB Debugging on, but after a period of time (hours…
hcexile
  • 446
  • 7
  • 22
1
vote
1 answer

USB Vendor ID for Aakash tablets

To enable USB debugging(android development using eclipse on ubuntu), we need a USB vendor ID of the device. Does anyone know for Aakash(manufacturer: Datawind), because Datawind is not there on the list by Google.
shiladitya
  • 2,290
  • 1
  • 23
  • 36
1
vote
1 answer

Android: USB debug not working properly

I'm having some trouble with the USB debugging for Android via Eclipse: All my devices are recognized by the DDMS (I can see everyone of them in the logcat) but some of them don't work with the USB debugging. I can't start my application on the…
aveschini
  • 1,632
  • 3
  • 22
  • 39
1
vote
0 answers

Geting started with Android C++ debugging via gdb on Windows: Where to get gdbserver for Android from?

I don't understand how to debug C++ APKs on android. Can someone please help me get started? I found this: http://www.kandroid.org/online-pdk/guide/debugging_gdb.html but running gdbserver -help from the terminal emulator on the actual device…
1
vote
1 answer

Android USB debugger on Eclipse stops when switching to another application (after a while)

Android USB debugger on Eclipse stops when switching to an browser intent and navigate for a while. I'm developing a search/list/detail app. In detail can jump to an browserIntent: Intent browserIntent = new Intent(Intent.ACTION_VIEW,…
surfealokesea
  • 4,971
  • 4
  • 28
  • 38
0
votes
0 answers

Is there a way to force enable USB debugging on an android phone?

Is there a way to force enable USB debugging on an Android phone with a black, cracked, or no screen? My phone (Vivo y20i 2021) broke and the screen became all black and unresponsive so I removed it. I only use Scrcpy now to access and use it. I…
Ron James
  • 1
  • 1