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

Android enable USB debugging from PC?

It is possible to enable USB debugging from PC? I am using Galaxy S4, with broken screen. I can turn on the phone and hear beeps when I change volume, but it does does not show up as device with "adb devices". So I assume USB debugging is not…
checho
  • 3,092
  • 3
  • 18
  • 30
0
votes
1 answer

Volley local request only works when attached to USB debugging

I'm building an app that acts as an proxy between a measurement device and a web app. This is necessary because the measurement device doesn't offer CORS / HTTPS implementations and cannot be called directly from the web app. This works by creating…
Milan
  • 61
  • 5
0
votes
0 answers

Can I use every USB 3.0 A/A cable for Intel DCI debugging?

I successfully managed to enable DCI on my UEFI mainboard to enable debugging via a USB 3 DbC connection. Now I need a USB 3 debug cable. I only can find one at DataPro via Google. It actually looks like a USB 3.0 Male to Male cable. As I live in…
user7145038
0
votes
3 answers

Is someone familiar with this USB debugging error on Xamarin?

I am trying to usb-debug Xamarin.Forms app with my physical android device Samsung a51. This error keeps coming. Does anyone known a solution or things worth trying to solve this? Severity Code Description Project File Line Suppression…
Simo Siren
  • 41
  • 5
0
votes
1 answer

Android: why does running adb shell commands from pc and USB debugging doesn't required permission?

Programatically running : getRuntime.exec("screencap", "-p /sdcard/image.png") does not do anything except exiting with code=1. But when USB debugging, running that same command from pc in cmd: adb shell screencap -p /sdcard/dddd.png works. From…
EEAH
  • 715
  • 4
  • 17
0
votes
0 answers

Can't run react native app using usb debugging

I'm trying to run react native app on my mobile but it fails although it working perfectly on the emulator. This is the error appears after running react-native run-android: BUILD FAILED in 11s error Failed to install the app. Make sure you have…
A.Usama
  • 157
  • 2
  • 8
0
votes
2 answers

Flutter doesn't run application on an attached device in command prompt, while android studio is closed ( running only in android studio)

I installed Flutter and everything required for that. Then because AVD runs really slow for debugging i used connected hardware device (Redmi 7) - within Android Studio app runs on connected device perfectly, but when I try to run it from command…
0
votes
0 answers

Unable to run flutter project on Android connected with USB

I am trying to run my flutter project on Android connected with USB Debugging Enabled , i tried running flutter doctor it saying everything is OK flutter doctorbut while running the project it stucks on gradle task assembling gradle assembling, also…
user14079893
0
votes
2 answers

Android Studio: Default Activity Not Found and than USB Debugging not woking

I re-installed my Android Studio. My first problem was, that when I try to run my Activity, I got an error: Default Activity Not Found . So I change the configuration, instead of choosing Default Activity in the Launch Option I choose Nothing. I…
Cam
  • 61
  • 6
0
votes
0 answers

Application not installing over USB after adding service process name?

I have a foreground service and in the manifest I have added a process name for the service. After that the application is not getting installed on the device. FYI My device is Poco F1 Android Q, MiUi 11 I've tried the below things as well, Enabled…
Manoj Perumarath
  • 9,337
  • 8
  • 56
  • 77
0
votes
0 answers

How can I interpret a chrome debugger flamechart that provides the same info no matter what I change?

In Chrome Dev Tools, I consistently get this long-running touchstart handler and no detail in the Performance trace. How can I interpret this? First is the Summary tab. You can see how it says "System" for the entirety of the handler, so I can't…
0
votes
1 answer

Can't run/debug app on phone while connected through USB while using Android Studio (it disconnects when installing)

I got an app that I'm perfectly able to run/debug while connected through USB from Android Studio on my Nexus 5 (Android 6) and LG Stylus 2 Plus (Android 8) phones, but it seems to fail when testing it on my Huawei P30 (Android 9). I'm able to see…
cavpollo
  • 4,071
  • 2
  • 40
  • 64
0
votes
3 answers

How to enable usb debugging mode?

I forgot my mobile pattern and now i wanna recover without factory reset of my device. The developer options is turned off and I cannot turn on usb debugging as well. How do I enable usb debugging and remove my pattern? I cant even run adb…
0
votes
1 answer

Can't deploy my ionic app on real device using "Type-C" cable

I've created an Ionic app. Now I'm trying to deploy it on real time device (LG G-6). My developer mode and USB debugging is enabled. But my cable is just charging my phone. No media transfer appears. So, I can't deploy my app. Does Type-C cable only…
Zeeshan Malik
  • 627
  • 1
  • 14
  • 31
0
votes
1 answer

Android File Transfer app is not optimized for your mac latest version

I get an "Android File Transfer app is not optimized for your mac latest version.." warning even if I have updated the app to latest version (1.0.12) Have checked the app via "System Report -> Applications" and it says: 64 bit. I would not install…
StephanC
  • 97
  • 1
  • 1
  • 7