Skip to main content

All Questions

Tagged with
0 votes
0 answers
209 views

How to debug an Android app that crashes while the debugger is attaching?

My app crashes while waiting for the debugger to attach in Android Studio. The debug call stack doesn't make any sense to me. How can I debug this and figure out why it's crashing? Adding some context....
Bungles's user avatar
  • 2,189
1 vote
0 answers
877 views

Android Studio adb server Connection reset by peer

I set up a new Ubuntu installation and after that my adb is not working correctly. Normally adb would recognize my emulator but when i startup my Computer i believe it does not start an adb server. ...
snux_cs's user avatar
  • 63
1 vote
1 answer
2k views

What does ro.debuggable=1 actually do?

I am trying to understand what the Android system property ro.debuggable actually does. I am using Arm Streamline to profile my android application and the documentation states that I can do ...
MrCMcC's user avatar
  • 11
2 votes
0 answers
2k views

adb pair for Wireless debugging of Android phone from Ubuntu

I am trying to run adb shell commands on an Android phone from my Ubuntu machine. The Android phone (192.168.1.123) is on my wifi network while the Ubuntu machine (192.168.1.122) is on the wired ...
gameveloster's user avatar
  • 1,353
0 votes
1 answer
350 views

Is there a way to copy text from device to computer when debugging in IntelliJ?

Is there any convenient way to copy text to the computer from an Android app when running the app in debug mode from IntelliJ? To be clear, I want to add a button in my app that when tapped copies a ...
Magnus's user avatar
  • 18.2k
0 votes
0 answers
107 views

adb command select device, which is not connected to workstation

I have a device connected to a worksation, lets says it serial number to be "abcdefgh", whenever I run any adb command, it throws an o/p "adb: unable to connect for root: device '...
Himanshu Singh's user avatar
1 vote
0 answers
3k views

ADB Shows "unauthorized" device, on a device with a broken screen. How do I authorize the session while "blind"?

I've done a bunch of reading on this topic and I believe this is the closest you can probably get, but I don't know if it's possible to do this in fastboot mode or another mode other than normal. ...
notdan's user avatar
  • 71
1 vote
2 answers
2k views

How to store contacts from adb shell? [Android]

I came across the following: Android adb command to get total contacts on device Im at a point where my display isnt working. The command given above just displays my contatcts. Is there some way I ...
Sharan Shetty's user avatar
4 votes
1 answer
3k views

Getting IMEI number using ADB commands Android 12

For android versions before 11 I was using the below command to get IMEI number from my device: adb shell "service call iphonesubinfo 4 | cut -c 52-66 | tr -d '.[:space:]'" or adb shell ...
Joãozinho Pereira's user avatar
2 votes
1 answer
12k views

FAILED (remote: unknown command) fastboot oem unlock in adb

I tried everything, I have a SAMSUNG GALAXY A02s. I want to unlock the bootloader of my device. I have enabled OEM unlocking I have enabled USB debugging ^^ ---> developer options.. I also deleted ...
RDMotivation  Krunklier's user avatar
2 votes
0 answers
1k views

Unable to attach debugger in Android Studio in MacBook

I am unable to attach debugger in Android Studio in MacBook. I am getting this error Failed to start monitoring <deviceID> I have tried multiple solutions : Turn on/off usb debugging on device ...
Sushwanth's user avatar
  • 625
-1 votes
1 answer
72 views

I'm having trouble loading my android physical phone, it keeps says loading device for hours and nothing happens

this the screenshot of my Android Studio, I'm trying to learn flutter but I'm having issues while setting my physical device to it, android studio says loading device for hours and nothing happens, ...
Shubham Bhardwaj's user avatar
5 votes
0 answers
381 views

Error when loading Android APK via ADB - StorageManager.getVolumes()' on a null object reference

I am getting the error below when i attempt to load a custom APK on to Android. It's an empty test service. Thanks, -Eric adb: failed to install test.apk: Exception occurred while executing: java....
ericshufro's user avatar
1 vote
2 answers
744 views

Debugger is not working on Android Studio 4.2 Canary 15

Since I installed Android Studio 4.2 Canary 15 I am not being able to debug my project. I tried to perform debugging every way: using the menu, using the shortcut and even tried attach debugger but I ...
Agna JirKon Rx's user avatar
1 vote
0 answers
751 views

Launching with debugger attached causes android app to hang. BadPacketException in EventLog

After updating Android Studio to version 4.1 and the Android emulator to version 30.1.5-6855416, I'm having trouble debugging in the emulator. After stopping the emulator, wiping its data, and then ...
duggulous's user avatar
  • 2,627

15 30 50 per page
1
2 3 4 5 6