Questions tagged [adb]
ADB (Android Debug Bridge) is a tool that comes with the Android SDK that allows you to control and interface with your Android device.
7,775
questions
0
votes
0
answers
9
views
Installing Device Admin & Device Owner App
I'm writing a device owner application, where I'm setting the app as device owner via ADB command:
adb shell dpm set-device-owner {package-name}/{admin-receiver}
The app is successfully set as a ...
1
vote
0
answers
23
views
Force Android to use mobile data even if other network interfaces are available?
I have an Android device that's used for mobile testing. This device has cell connectivity and is separately connected to the local network over ethernet (which is used for ADB).
How can I configure ...
1
vote
0
answers
34
views
Auto grant runtime permissions via default-permissions.xml for AOSP 12 or later are not working in Android
Default permissions are not auto granted for permissions categorised as runtime or dangerous permissions via default-permissions-example.xml file for an application that I am trying to run as a system ...
0
votes
0
answers
33
views
ADB error: protocol fault (couldn't read status message): Success
ADB pairing device with VM results in error Success.
Hello all,
i have an issue connecting my Device with adb via wifi.
userinput:$ adb pair 192.168.1.XX
Enter pairing code: 123456
error: protocol ...
-2
votes
0
answers
12
views
Problem connecting to BlueStacks from the Django project using ADB [closed]
Creating a Django project:
Preparation of forms (models.py):
enter image description here
Preparation of presentations (views.py):
enter image description here
enter image description here
enter ...
0
votes
0
answers
31
views
Permanently "loading devices" in Android Studio [closed]
I got the same problem like many others, the devices in Android Studios doesn't load and it permanently is "loading devices". I tried a lot of help aspects of the internet, but it doesn't ...
1
vote
0
answers
20
views
Android app stuck at "Launching on Devices" or 'device 'DEVICEID' not found' error
The app can not be launched. It is stuck for a very long time in "Launching on Devices" (it seems to not stop).
Sometimes instead of beeing stuck it gives the error
'device 'DEVICEID' not ...
0
votes
0
answers
11
views
Linux Mint: Why can't Flutter run adb and why does vscode keep saying flutter daemon has terminated
I'm having trouble getting flutter working on my new linux mint install. I have two problems:
First problem:
flutter doctor returns
[☠] Connected device (the doctor check crashed)
✗ Due to an ...
0
votes
0
answers
31
views
Android Studio debugger not working always show Collecting data
My Android Studio debugger isn't working. When it hits a breakpoint, it shows "collecting data" all the time (Emulator and Device), making it difficult for me to work efficiently.
Previously,...
0
votes
0
answers
15
views
Trying to reset an android app to a state with a defined set of app data and settings automatically
I'm developing an automated testing process for an Android app that requires resetting the app to a consistent ground state between test sequences. The workflow is as follows:
Start with the phone in ...
0
votes
2
answers
39
views
Android Studio disconnects from ADB
I have been facing issue for sometime now. I use ubuntu for development but now the issue I face - Whenever I run adb commands on terminal, Android Studio disconnects weird though I can install the ...
1
vote
0
answers
33
views
Take screenshot of virtual display of Android emulator (via ADB)
I am working with Android devices with multiple displays (physical devices and emulators) and want to take screenshots of each display through ADB. The problem that I have encountered is that whenever ...
0
votes
1
answer
22
views
what is scratch.img.0000 and how to reduce size of this file
After use 'adb remount', there will be a large(11G) file named scratch.img.0000 in /data/gsi/remount.
It seems that this file is used as overlay fs (/mnt/scratch), how to reduce the size of it.
/data/...
0
votes
0
answers
29
views
Debugging Ionic and Angular 18 with Capacitor in Android device using Xamarin's AVD
I have been working on debugging a webpage built on Ionic and Angular with Capacitor. Debugging in Android device requires me to download and install Android Studio to run the AVD.
Are there any way ...
-5
votes
1
answer
45
views
SPARK SQL : MUST AGGREGATE CORRELATED SCALAR SUBQUERY
I'm getting error as "correlated scalar subqueries must be aggregated to return at most one row."
Nvl(select addr_cntry_cd from (add_cntry_cd, risk, row_number() over partition by ...