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

When connecting android device to android studio, it's not recognizing it, and it's showing that it's unable to locate adb.. what's the problem?

When connecting android device to android studio, it's not recognizing it, and it's showing that it's unable to locate adb.. what's the problem? I tried to uninstall the platform tools, and it didn't work! image1 image2
Tarek AS
  • 187
  • 13
0
votes
0 answers

Chrome Debug doesn't list the connected devices in mac

I recently updated the Chrome to 77.0.3865.90 in MAC and also I have Pixel 3 with chrome 77.0.3865.92 when i try to debug my website using chrome inspect the device is not being listed. Tried alternate cables and restarting both the devices
0
votes
1 answer

How to configure USB Debugging for Android for a Gluon-mobile app in Eclipse?

I tried to configure USB Debugging for Android in Eclipse (for a Gluon-mobile application) similar to the steps described in the answer to this question. As step 5 I defined in Eclipse->Run->Debug Configurations...->Remote Java Application When I…
user7399085
  • 220
  • 1
  • 12
0
votes
1 answer

USB debugging problem in Android Studio 3.2.1

I am working with Android studio 3.2.1 windows o/s. My android studio didn't detect any phone(I tried with huwawei y6 and samsung grand prime).But there was message that USB connected. But can't get the usb debugging request message in my phone and…
PremiPrem
  • 1
  • 3
0
votes
4 answers

Galaxy S9 Device Keeps Appearing as "Offline" when emulating

My Galaxy S9 device keeps appearing as "Offline" when I try to debug. It was working with the same application previously, and nothing changed. I receive this error: Session 'app': Error Installing APK and …
Krista Marie
  • 97
  • 1
  • 1
  • 8
0
votes
0 answers

Get logcats in android studio when device is in charge only mode

I'm working on camera application and need to store picture in memory. I'm using android studio. When i connect my device with android studio through usb cable, my sd card not show in my phone, gallery images are not showing there. And unable to…
Azeem Haider
  • 1,443
  • 4
  • 23
  • 41
0
votes
0 answers

adb devices not showing

I am new to Appium. Developer option and USB debugging are ON on my android device but the node.js and cmd doesn't print devices connected it just prints "List of devices attached" as shown in the image. What should I do? Also, I have tried to…
0
votes
0 answers

React Native Error Running on Android Device couse Package Server is not running and USB debugging is not enabled?

I am writing an app and just last night I wanted to try it on my device. So, I enabled USB debugging on my device, connected it to my machine and issued react-native run-android This installed and run my app on device just as expected. All…
pixel
  • 9,653
  • 16
  • 82
  • 149
0
votes
3 answers

ADB in Android Studio sees device as offline

After connecting my galaxy s7 ADB sees device ok for about 500 ms. In that short time logcat wrote out lots of text which immediately disappeared. After that it is marked as [OFFLINE]. I have tried restarting android studio, phone, USB debugging,…
Samuel Stanek
  • 43
  • 1
  • 9
0
votes
2 answers

Use NPM/Node for checking USB Debugging on Android Phone

I am trying to check if USB Debugging is turned on or off through NPM/Node. As soon as an android phone is connected to my system and USB Debugging is turned off, then i need to show a prompt to user to enable usb debugging on his phone. According…
Akaanksha
  • 161
  • 1
  • 14
0
votes
1 answer

Is it possible to read some smartphone details without USB debugging enabled?

Does anybody know if it is possible to read the build number from a Samsung smartphone without USB debugging being enabled? I searched the USB descriptors already but cannot find it. Did I overlooked it or is it somewhere else? Maybe with some kind…
Uwe Andersen
  • 327
  • 2
  • 4
  • 15
0
votes
0 answers

Usb driver for my phone manufacturer not available in the list

So I am using Le x526 and I can't seem to find any oem usb driver for it here I even tried getting just the google usb driver . After downloading it I went to Device Manager. then to Other devices. In Other Devices I get ADB interface with a yellow…
0
votes
0 answers

How to change Android Studio to attach debugger to a port other than 8600

My Version is Android Studio 2.3.2 The problem I am facing is, I have a service which is listening on port 8600 and I cannot change this service to use a different port. Its a microstructure atchitecture and I have about 40 odd services with…
Suri
  • 56
  • 1
  • 6
0
votes
2 answers

Mobile not listed in adb devices only in my laptop

My Samsung J2 mobile is not getting listed in adb devices only on my Dell laptop.adb devices result Because of this Enable USB debugging screen Enable USB debugging in not popping up Things i have tried Enabled developer options and USB debugging(…
Sumi
  • 157
  • 1
  • 3
  • 15
0
votes
0 answers

How to enable USB debugging for Mi4i from TWRP recovery using ADB?

I am using Xiaomi Mi4i device and the other day it fell down and the screen broke. It's all blacked out now and the touch is not working. The device is rooted and running stock MIUI ROM. I want to mirror the display onto my computer so that I can…
ajktym94
  • 1
  • 2