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
1
vote
3 answers

Android Studio connection to a physical device

I connect my phone Realme 6s (RMX2002) to my device and the USB debugging is enabled. Android Studio recognized & connected but doesn't show the app project in flutter like in the photo So, any suggestions to figure this out?
1
vote
6 answers

Android device is not showing up on VS Code/Android Studio

VS code and Android Studio is recognizing my connected android device. My device is showing up on file explorer though. I have turned on USB debugging from settings too. Below is the result of flutter doctor Doctor summary (to see all details, run…
Faizan Kamal
  • 1,732
  • 3
  • 27
  • 56
1
vote
1 answer

'adb devices' find my usb device,but android studio not. only show "Loading Devices", also say when run "no target device found"

I am use android studio 4.1 with manjaro linux. I want run app with usb debug,I am setup my mobile(oreo 8.1) for usb debug(developer mode-->usb debugging). you see in this image my problem. 'adb devices' result in terminal show's device. but not…
Govind
  • 36
  • 1
  • 4
1
vote
0 answers

Android ADB shell: Enable USB app installation

I have a question about APK installation internals. If you want to install an APK on some Android devices via ADB (adb install APK.apk or pm install /data/local/tmp/APK.apk) you have to enable USB installation in Developer Options. If the USB…
Topper Harley
  • 375
  • 4
  • 17
1
vote
0 answers

USB Debugging option on my Android keeps turning on

Every time when I turn USB Debugging off and restart my Android phone (Sony Xperia X), the USB Debugging option is turned on again. I found the following…
isend
  • 145
  • 5
1
vote
2 answers

`adb` cannot detect Oppo F5

Today I wanted to learn Flutter. So, I read through the docs and found out that I can run my app on my real device (Oppo f5 in this case). I do have enabled USB Debugging. And the MTP works fine (I can transfer files with the speed of light). When I…
1
vote
2 answers

adb uninstall not working for realme device

I just purchased a Realme phone(Realme 6 pro to be specific) and want to delete several preinstalled apps for obvious reasons. I did all the essential things which some of you might point out so explicitly stating them: enabled the developer…
Hackarp
  • 61
  • 1
  • 1
  • 6
1
vote
1 answer

Why is Android Studio showing me all this info about my phone in the log?

I have been using Android Studio for a month, plugging my phone (Asus Zenfone 5 if relevant) in USB to launch my app in debug mode. I had to enable "USB debug" on my phone in order to do that. First, I had no issues, everything worked fine. I…
1
vote
1 answer

Xamarin Deployment failed and ArchitectureNotSupportedBySharedRuntime when trying to debug on mobile phone

I have a problem that I really can't understand what causes this problem. I get this error when I try to debug a xamarin app to my physical android mobile phone. This is the blank app that you get when you first create a project. So I have not…
Andreas
  • 1,121
  • 4
  • 17
  • 34
1
vote
0 answers

What kind of dialog is "Allow USB debugging?" How to programmatically close it?

For project requirements (no root permissions), I need my device to allow USB debugging only on a given computer. Since I have no root permissions I can't write on data/misc/adb_keys to delete all the keys that I don't know, so I thought I could…
Cliff Burton
  • 3,414
  • 20
  • 33
  • 47
1
vote
1 answer

Where do files *really* exist after doing`adb-sync`?

I'm playing around with syncing files from my laptop to my SD card on the phone using adb-sync. adb-sync reports successfully pushing the files to the destination. Navigating to /storage/9016-4EF8/Music in adb shell, the new files are listed, right…
Tom Russell
  • 1,015
  • 2
  • 10
  • 29
1
vote
0 answers

Oppo A57 - Unable to detect phone in Ubuntu and Android Studio

Actual Problem Oppo A57 is not getting detected when connected to a laptop running Ubuntu 18.04 LTS (Transfer files via USB is enabled). Not only that i am unable to see that device (with usb debugging enabled) in Android Studio. USB port in phone…
Ganesh K
  • 126
  • 14
1
vote
1 answer

How to enable USB Debug on OPPO device without display warning message on notification panel

I tried hard to stop this warning message but I still don't have solution for this. If anyone know the best solution please share here. These are reasons why: It is annoy for my development It can be disable when I touch on it by mistake. Actually…
Chivorn
  • 2,203
  • 2
  • 21
  • 37
1
vote
0 answers

Phone keeps showing (Allow USB debugging?) dialog with RSA key fingerprint

I am using my phone (ASUS Zenfone 551ML) to test android application i am developing. Working on Android Studio (Version 3.0.1) which is installed on Windows 10. When i connect the phone to computer, phone keeps showing a dialog carrying a RSA key…
1
vote
2 answers

How to turn ON USB Debugging in android phones on Locked Android Phones

Is there any way to turn ON USB Debugging on locked Android Phones if I have got physical access to someone's mobile but the mobile locked. Actually I want to install APK on Android Mobiles when I have physical access to mobiles (not my mobile) but…
Ali Khan
  • 61
  • 2
  • 10