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
11
votes
7 answers

My Galaxy S6 Edge cannot connect to Android Studio via USB Debugging

When I plug my Galaxy S6 Edge into my computer, Android Studio does not recognize it as an available USB device. I've tried to download a USB Driver update and I have USB Debugging checked on my phone, but nothing is working. What else do I need to…
Snow Patrick
  • 111
  • 1
  • 1
  • 3
9
votes
2 answers

Keep screen on in Activity - does not work with FLAG_KEEP_SCREEN_ON

For a long time I thought that I knew how to stop the screen from going into sleep mode, I simply used this code in my Activity: getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); However, I realized that this only worked when my…
Ted
  • 19,727
  • 35
  • 96
  • 154
8
votes
2 answers

Enable USB debugging on Android remotely

I've got the LG P970 phone running on Gingerbread with a broken screen. By broken screen i mean that screen displays nothing - it's lighten up, all black with color lines but it's touch sensitive (i believe). I've got important data on it and I want…
grzebyk
  • 1,024
  • 1
  • 15
  • 26
7
votes
1 answer

Driver for USB debugging on an ASUS Memo Pad FHD 10 (ME302KL) on Windows 7

I need to debug some Android apps on a real device. I have an ASUS Memo Pad 10 and a desktop with Windows 7. I tried following the instructions on the Android Developer site and turned on the USB-Debug option on the tablet, but my desktop can't find…
Cozzer
  • 83
  • 1
  • 1
  • 4
6
votes
2 answers

Android device not recognized by ADB, USB Debug blinking (Mi 11 Lite 5G)

I get troubles connecting my android devices through USB debugging to my MacBook Pro. ADB partially detect the android devices which is blinking a USB Debugging Popup. For information : I tried to change USB cables, adaptators, and reset to factory…
GuillaumeRZ
  • 2,656
  • 4
  • 19
  • 35
6
votes
2 answers

USB debugging on physical device within a virtual machine development environment

I have a development environment set up in a Hyper-V virtual machine (Windows 10). Using Visual Studio 2019 as my IDE with Xamarin (a monodroid project). My physical device is unable to "passthrough" due to decisions made by the Hyper-V designers,…
user959631
  • 1,004
  • 2
  • 14
  • 34
6
votes
2 answers

How to solve com.android.ddmlib.InstallException: INSTALL_FAILED_UPDATE_INCOMPATIBLE

I am using Mi Note3, before that, I can run the code from react-native using react-native run-android and connect with my phone. Now cannot already. My MIUI version is 10.2, I already open Developer options, USB debugging, Install via USB and turn…
dipgirl
  • 648
  • 3
  • 17
  • 28
6
votes
6 answers

Location of my package while USB debugging in eclipse

I searched a lot in DDMS all folders but can not find the location of my package folder in file manager. I have search it into the storage/sdcard0 but there also my package is not present. take a look I uploaded photo. Is there any special setting…
Shabbir Dhangot
  • 8,954
  • 10
  • 58
  • 80
5
votes
1 answer

"Allow USB debugging?" keeps popping up

I'm going nuts here. I am trying to debug my app on a Samsung Galaxy Tab S5e. My application runs a VPNService and I am reasonably sure this is the root cause of the following issue: When debugging via USB, everything works fine. However, when I…
pookie
  • 3,796
  • 6
  • 49
  • 105
5
votes
4 answers

Flutter does not prompt the device for an authorization dialog

adb connects to my device (Xiaomi Redmi 4, MIUI 11.0.2, Android 7.1.2) just fine via USB as well as via WiFi. However, I've had no success trying to connect flutter. Flutter does detect my device when I connect via USB but doesn't prompt for an…
Spikatrix
  • 20,225
  • 7
  • 37
  • 83
5
votes
2 answers

How to enable USB Debugging in IOS 7

I cant understand, how to debug? In android it in "Settings - Developer options - USB debugging". but in iphone with ios 7 I cant find it. Maybe the developer options menu is hidden, but how to show it? I'm using Xamarin.IOS in Windows 8.
user3000118
  • 71
  • 1
  • 1
  • 2
4
votes
1 answer

Android adb constantly shows "authorizing" for connected physical device

I am using adb to connect to my physical device. Everything worked for a while, now all of a sudden adb tells me it would be "authorizing" all the time. I have already restarted adb, restarted the physical device, restarted USB debugging on the…
4
votes
0 answers

Android Studio debugging on AWS Workspaces

I am using AWS Workspaces to build an Android App. Everything works great and the speed with which I am able to work is just wonderful. However, one of the major issue I face is that I am unable to Debug my Apps via using USB debugging. Now I…
4
votes
1 answer

How to mirror phone screen using ADB Sideload?

Information: Windows: 10 Smartphone: Alcatel Pixi 4 5" 5045J (Rooted) ADB version: 1.0.39 USB debugging is enabled. Problem: The screen to my phone is damaged and ring does not work. I would like to mirror the phone screen on the PC, but I…
Mark
  • 57
  • 1
  • 2
4
votes
2 answers

How to enable usb debugging on android with black screen?

I was trying to enable USB debugging option on my Samsung Galaxy J1 Ace (SM-J110H) handset. As you already know that the screen is black/dead but except that the cellphone is working just fine. Somehow I managed to enable the USB debugging option by…
Sifatur Rahman
  • 803
  • 2
  • 9
  • 15
1
2
3
15 16