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
4
votes
1 answer

Chrome Inspect Device not showing android app

I am trying to debug this app using chrome://inspect - Devices, but I am not able to see my app in the debug app list. I can see the device name and only Chrome app under it, but not my app. Settings that I have applied Enable USB Debugging…
4
votes
4 answers

How To Enable USB Debugging For The Samsung S7

I am trying to use the chrome remote debugging tools. So I am following this doc https://developer.chrome.com/devtools/docs/remote-debugging However once I have developer options enabled, I cannot enable USB debugging. It stays disabled(greyed…
Llewellyn Collins
  • 2,243
  • 2
  • 23
  • 37
4
votes
4 answers

Developer options on Alcatel OneTouch M Pop 5020D?

I have a quite new Alcatel OneTouch Pop M 5020D. But I am not able to find or activate the developer optione for activating USB debugging. Does anyone know how to?
Christian
  • 576
  • 1
  • 4
  • 16
3
votes
3 answers

Eclipse wont recognize my android tablet when I try to test my app?

Recently I bought a new android tablet (a no-name Chinese tablet), and I'd like to test an application I'm developing on it. However, when I try to run it through Eclipse, it won't recognize my tablet (the debugging mode is enabled on the tablet).…
RCB
  • 2,253
  • 2
  • 25
  • 49
3
votes
0 answers

check USB debugging is enabled or disabled in android device react native

I am working on an android app using react-native. I want to show an alert if USB debugging is enabled in users' devices to turn off the USB debugging option. But I am not able to find a proper library or method to check USB debugging is enabled or…
Shivam
  • 2,147
  • 1
  • 11
  • 28
3
votes
1 answer

Is it possible to start an original version of an Android app after I was debugging a debug version of it?

I have 5 devices currently I'm testing my Android app with. I'm running the latest beta version on most of them installed properly from the Play Store. I started a debug version on one of these with Android 11 recently. The debugged app has the same…
Csaba Toth
  • 10,021
  • 5
  • 75
  • 121
3
votes
0 answers

Remote debugging: port forwarding from PC to iOS/iPhone

I want to inspect a web app, running on localhost, loaded in phones via USB. I am able to inspect, and remotely control tabs of all connected phones in Chrome at chrome://inspect/#devices. However, Chrome's DevTools port forwarding feature only…
marko-36
  • 1,309
  • 3
  • 23
  • 38
3
votes
5 answers

my mobile is not showing in android studio

My mobile is not showing in android studio inside available devices when i connect it with usb cable to run the app in my physical device. I have pdanet+ app in my mobile and I already ON the developer option and usb debugging. It's working fine…
Bilal
  • 95
  • 1
  • 1
  • 10
3
votes
0 answers

Unable to open debugger port (8600) Android Studio in MAC

Error running 'Android Debugger (8600)': Unable to open debugger port (localhost:8600): java.io.IOException "handshake failed - connection prematurally closed" This is the error I am getting while trying to attach the debugger. I have tried some…
Madhu
  • 1,780
  • 23
  • 47
3
votes
0 answers

Debugging Xamarin.Forms App on Android Oreo Fails

Every time I run to debug app on my Nexus 6P (Android Oreo), the app will get deployed, starts briefly and then exits and Visual Studio (2015) will stop debug process and show following message Android application is debugging. Couldn't connect to…
pixel
  • 9,653
  • 16
  • 82
  • 149
3
votes
1 answer

Android Studio Not Showing My Real Device To Debug App

When i am trying to connect my real device (Huawei Y6 Pro) to run app on my device its showing nothing. But on the other hand when i am connecting my another device(Samsung Galaxy S3), It showing perfectly and and i can run my app on this device.…
3
votes
0 answers

Error while enabling USB debugging on Android

I am trying to enable USB debugging for my project as per the official android documentation. However, when I wrote this in my build.gradle file: android { buildTypes { debug { debuggable true } I get an error saying: Error:(25, 0)…
user5757613
3
votes
1 answer

Adb does not detect android device on Windows - Lenovo Yoga Tablet 2

Problem Simple, adb does not recognize my android tablet - Lenovo Yoga Tablet 2 Note: I can access the storage from explorer, that is not the issue. Issue is adb does not recognize it. Hence unable to debug on the device. This is not a duplicate.…
Viral Patel
  • 32,418
  • 18
  • 82
  • 110
3
votes
1 answer

I am trying to interact with a servlet on my laptop through an android activity on my phone

I am trying to interact from android activity being tested on phone(USB) to a Servlet in Apache Tomcat7 on my laptop. I am creating a button. clicking on which I should go to the next "activity". However when I try to contact the server in between,…
Bhavya Arora
  • 768
  • 3
  • 16
  • 35
3
votes
1 answer

Persist ADB over Wifi in android studio?

Hi i am using a MotoG2nd Generation updated to Android Lolliop, Under Android adb Section from google's guide , it says $ adb usb restarting in USB mode $ adb devices List of devices attached ######## device $ adb tcpip 5555 restarting in TCP mode…
Sainath S.R
  • 3,074
  • 9
  • 41
  • 72
1 2
3
15 16