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
0 answers

Android Studio unable to detect device when battery charge is above 92% and vibrates above 90%

I am currently facing an unusual issue with Android Studio. Whenever my device's battery charge is above 92%, Android Studio fails to detect the device. Strangely, when the battery charge drops below 90%, the device becomes detectable again.…
0
votes
0 answers

Getting ****************************************** in vivo instead of url

can't print url and email in android logcat for other devices it works fine 2023-06-23 15:44:05.092 6896-7945 okhttp.OkHttpClient I --> GET ***************************************************************************** Want to print url and…
0
votes
0 answers

Why can't i connect my device in first... it is taking to many attempts for adb?

i want to connect my android device through adb command line tool, But it does connect my device(through wifi debugging) to my laptop easily, it is taking too much attempts to connect and sometime does not connect. I am on same network, even…
0
votes
0 answers

Resetting my Android phone will disable USB Debugging, is there a way to turn it back on without a functioning screen?

i am using my android phone (with broken display that don't show anything) using scrcpy (i setup scrcpy when the display just cracked but was working) from about 6 months, now due to slowness and some other reasons i want to reset my phone but…
0
votes
1 answer

Flutter app is not opening in physical device(Iqoo Z7) in debug mode

I have enabled use debugging,still not able to run the app in my handset which is Iqoo Z7 in debug mode. Earlier I used to run the same application on my samsung a10 handset using usb debugging. I have tried everything, but still the app is getting…
0
votes
1 answer

bundling failed: Error: Unable to resolve module

Error: Unable to resolve module cldr-data/supplemental/currencyData from src\services\g11n\models\cldr-utilities.js: cldr-data/supplemental/currencyData could not be found within the project. After merging the latest PR I am getting this error…
0
votes
1 answer

Stuck on Running Gradle task 'assembleDebug'

I am trying to run my application on my physical device, and I am either getting an > Error waiting for a debug connection: The log reader stopped unexpectedly. Error launching application on V2036. or else I am stuck on Running Gradle task…
0
votes
0 answers

Avoid un-critical logs in Android Studio [logcat]

I connected my physical device via usb debugging in Android Studio to see my app logs on logcat tab I can not see critical logs because of this line fbcNotifySwapBuffers ret=0 is repeating forever as image shown --> How can remove these logs or…
iibrahimbakr
  • 1,116
  • 1
  • 13
  • 32
0
votes
0 answers

Physical Mobile Device detected but not listed in Device Selection Spinner Android Studio

I am currently learning flutter in Android Studio. Android Studio detects my physical device connected but does not list it in Device Selection spinner. Below picture will elaborate my issue further: As can be seen, Mobile device is listed in…
0
votes
0 answers

Debug Flutter app on Android device while simultaneously showing its screen on desktop with scrcpy

Working in Ubuntu, I'm debugging a Flutter app on my Android phone while I code it. So far that works fine, but I would like to see the phone screen on my pc for comfort. I know an emulator would do the trick, but for performance issues I used my…
0
votes
1 answer

USB Debugging option on my Android keeps turning off [Huawei]

I was trying to connect my android device to my laptop to open a screen mirroring software and i enconterd a problem, every time i turn the USB debugging on and close the developer menu whene i go back into the menu the USB debugging option is…
0
votes
0 answers

What can I do with the ADB USB Interface of an Android device?

I have an Android device (Samsung Galaxy A20e) and a Windows computer. If I connect both with the USB cable and enable the USB debugging inside the settings of Android, I can connect from my Windows App (.Net C#) by using the ADB interface of the…
user20138168
0
votes
1 answer

devTools remote debug device port forwarding other than localhost

I need to connect from one android device (galaxy TAB) to my developing PC via (USB) -> chrome://inspect/#devices -> port forwarding In other words I want to open in my galaxy TAB a chrome page with one of mi sites hosted in my PC In my pc I have…
MTK
  • 3,300
  • 2
  • 33
  • 49
0
votes
1 answer

Configuration is missing in lunch .jason running app on real device using usb debugging

developer option is On- in my phone the same as USB debugging... the phone is connected and known in vs code when I choose my phone to run the app. I got this error: how to Fix it?
user20019751
0
votes
0 answers

The Android studio recognize my samsung s22 phone but will not run an app via usb debugging

I have recently installed the Android Studio Dolphin | 2021.3.1 Patch 1 on a Fedora Linux OS and when I tried to run my first app on the physical device via USB debugging I noticed that the app will not run on my Samsung S22 device even the Android…
Dezo
  • 835
  • 9
  • 16