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
3
votes
8 answers

Android USB Debugging has stopped working

This problem started just two days ago. Suddenly USB Debugging for Android is not working on my system. My Current status.. Emulators are being properly detected and work 1000% But when i plug in a device it shows up under devices but a connection…
Deepak
  • 1,238
  • 3
  • 22
  • 47
3
votes
0 answers

USB Debugging not working on galaxy s 2 android 4.1.2

I was able to debug to my phone directly before long time, but recently it seems like it doesn't work it works fine with AVD but the My device it doesn't work it (doesn't display the debugging screen) on my device when I plug in the USB. also I…
Ahmad Saleh
  • 879
  • 2
  • 10
  • 20
3
votes
2 answers

android Can't open file for reading

Hi I created my first Hello World app and followed instructions as posted on developer.android but when I connect my sony xperia s with debugging enabled and run my app , i see in the logcat errors saying "E/(4446): Can't open file for reading" I…
Suliman Gabhourz
  • 51
  • 1
  • 2
  • 3
2
votes
0 answers

How do I enable USB debugging from TWRP recovery?

I have a android device with dead screen. I have installed TWRP recovery for adb interactions while in recovery. I have lineage os 16.0 (Android 9) on my device. I want to access the device screen via using scrcpy. But I don't have developer mode…
newbie
  • 21
  • 2
2
votes
8 answers

Loading Devices Greyed out (Android Studio) Testing An App on a physical Device

I am very new to Flutter, my issue is as follows: After enabling USB debugging on my android phone and establishing a connection with my PC in order to deploy a simple app on a physical device, when I needed to select my phone in Android studio, I…
Don Kalonji
  • 165
  • 3
  • 13
2
votes
1 answer

Unable to connect with server while running react native app on real android device

I am trying to run my react native app on my real android device as the laptop gets too hot while using Android studio (8 Gb RAM, the pain). Hence, I enabled my USB debugging, plugged the cable and ran the command "react-native run-android". The app…
Shirish Pokhrel
  • 235
  • 3
  • 13
2
votes
0 answers

Will disconnect from debugging mode when reaching break point

I created a simple app and start in Android Studio version 3.6.2. I have N Android 10 real device and when I create a break point in onCreate(), Android Studio jumps to the break point successfully, but after 5 seconds it will disconnect from…
2
votes
0 answers

issue with Android command line tools

I downloaded the latest version of the command line tools for Windows (commandlinetools-win-6200805_latest) but when I run the sdkmanager from the command line, I get this error: Error: Could not find or load main class …
Natiya
  • 463
  • 2
  • 9
  • 25
2
votes
0 answers

USB Debugging with Chrome only works when Android Studio is open

I've searched everywhere and I can't seem to find an answer to my problem. I spent about an hour trying to use the "Remote Devices" feature for Chrome so I could debug my Javascript Minesweeper game on mobile. For some reason, the "Allow this device…
2
votes
1 answer

Chrome Remote Debugging: Scope variables are no populated in the debugger

2 days ago my chrome remote debugging of my ionic application was working perfectly. Now however with no changes my remote debugging will not display scope variables. The Scope section of the remote debugger just says: "Not Paused". This appears…
2
votes
1 answer

USB debugging RSA fingerprint dialog not showing

I have Moto G4 plus Android 6.0.1 And in that I installed TWRP recovery and manually root it When I connected with PC in debugging mode it shows Unauthorized device I have tried Updating SDK tools adb kill-server adb start-server adb…
Shareque
  • 361
  • 4
  • 23
2
votes
2 answers

How to debug inapp billing in android?

I would like to debug the whole in app billing process of my app. But unfortunatly, everytime i try to buy some products of my app when i am in usb debugging mode and error occurs, telling me, that the app is not signed and that's why i can't buy…
Thomas Richter
  • 833
  • 8
  • 20
2
votes
1 answer

React Native cannot find development server, integrating existing android app

I'm trying to integrate an existing android app with React Native, following the guide. It compiles and runs, but when I launch the React activity, it crashes with: Caused by: java.lang.RuntimeException: Could not connect to development…
2
votes
2 answers

USB debugging Android Studio

I'm new to Android Studio and have a basic app written and ready to debug on my Samsung Galaxy S4 (I don't know if it even matters) which uses Android 4.3. I get the error "USB device not found" every time I run the app on Windows 7. I've done the…
2
votes
3 answers

Device not visible in "USB debugging mode" in android studio

I am using DELL tablet "Venue7 3740" to test my applications.Though I enabled the developer settings my device is not visible in android studio when I try to run my app and yes I also clicked "Debug model when USB is connected" UPDATE DELL "Venue7…
Gladwin James
  • 563
  • 3
  • 10
  • 22