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.

0
votes
0answers
6 views

android 8.0 (Oreo) add more locale(CHANGE_CONFIGURATION permission…), changes aren't saves after restarting the device

I'm trying to change my phone device language to language that is not exist on the settings. I installed an app for "MoreLocale" and granted the CHANGE_CONFIGURATION Permission and it seems works but ...
0
votes
0answers
8 views

Shutting down wlan0 in adb shell, ifconfig and ip not working

I am trying to shut down wlan0 on my rooted android phone using adb shell. When I try to turn off the wlan0 interface, it turns off but automatically turns on again. Tried using these two commands: ...
0
votes
1answer
39 views

Flutter App not running in my oneplus 7 even its showing connected, everything is done related to developer option

this image is proof of my error. $ flutter device 1 connected device: GM1901 • bf9d2d80 • android-arm64 • Android 9 (API 28) $ flutter run Unable to locate a development device; please run 'flutter ...
-1
votes
0answers
51 views

emulator: ERROR: AdbHostServer.cpp:93: Unable to connect to adb daemon on port: 5037

C:\Users\ysura\AppData\Local\Android\Sdk\tools\emulator.exe -netdelay none -netspeed full -avd Nexus_5X_API_28 emulator: ERROR: AdbHostServer.cpp:93: Unable to connect to adb daemon on port: 5037 ...
0
votes
0answers
6 views

Android Studio debugging keeps displaying “Allow USB debugging?” PopUp

I am using Android Studio version Android Studio 3.4.1 Build #AI-183.6156.11.34.5522156, built on May 1, 2019 JRE: 1.8.0_152-release-1343-b01 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o ...
0
votes
0answers
9 views

Using ADB reverse socket, what means the line: adb reverse tcp:PORT tcp:PORT?

I connect my phone to my pc localhost using the android debugging bridge -adb. all is in the title, Im wondering concretely what happens when on my laptop's command prompt I enter the following ...
0
votes
0answers
17 views

How to get a full long line messages from logcat?

I am trying to display long message on logcat in adb tools adb logcat but some time I got a halve of a long message and I need to display all the line/message I tried to change the size of the log ...
1
vote
1answer
59 views

Permission Denial: runUninstall from pm command asks to run as user -1 but is calling from user 0;

I'm just upgrade my Android device (Samsung J7Pro) to 9.0 (Pie) and when I want to run any application from Android Studio I face to this problem that says: Permission Denial: runUninstall from pm ...
1
vote
0answers
101 views

adb: error: cannot bind listener: Operation not permitted

info React Native Environment Info: System: OS: Linux 4.15 Ubuntu 18.04.2 LTS (Bionic Beaver) CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz Memory: 331.02 MB / 11.63 ...
0
votes
0answers
18 views

adb command showing error popup in windows 7 command prompt

I am writing "adb" in command prompt but it is showing . I have installed android studio and already setup all environment variables. I have done this before in other systems and those works. ...
0
votes
1answer
36 views

Bash Script to exit adb logcat [duplicate]

I am trying to write a script to launch the app and check the logcat for a string. Once I find the string. I want to exit logcat and kill the app if adb shell monkey -p com.app.dev -c android.intent....
2
votes
2answers
39 views

Script that will transfer photos from phone camera using adb

Story I take photos and record videos with my phone camera and keep all of them on my sdcard. I periodically back them up on my PC, so I keep these camera photos on PC storage in sync with phone ...
0
votes
1answer
10 views

Build apk with dynamic feature modules from command line without bundletool

We have several dynamic feature modules. We want to easily build a debug version of our app with ADB and sideload. When we use ./gradlew app:assembleDebug our dynamic modules are not included in the ...
0
votes
0answers
14 views

Oculus GO adb: failed to install

I'm trying to side load an apk on my Oculus GO with Adb. I've done that many many times, with this very same pc and headset, but over the night, nothing works. I use the command: adb install /k/work/...
0
votes
1answer
17 views

ADB shell monkey command changing device orientation lock

I'm using the adb shell command monkey to launch one application followed by another. It all works fine, except for one odd side effect where the orientation lock on the device is set back to auto-...
1
vote
0answers
12 views

End current call and accept a new incoming call established a silent call

I have a rooted phone and i want to implement a scenario that if phone is already busy in regular phone call and new incoming call arrive, my program hangup current call and accept this new call ...
0
votes
0answers
17 views

How to make Visual Studio Emulator for Android visible in adb devices

I have installed Visual Studio Emulator for Android and I can start it. When I use adb with the adb devices command, I get nothing. According to some former suggestions, there is a magical registry ...
0
votes
0answers
9 views

Unauthorized device with new Android Debug Bridge version

I have a android device (no phone) which needs a adbkey. With the Android Debug Bridge version 1.0.31 i get it to wokr and can connect with a workaround to the shell. If i use a newer version like 1.0....
-2
votes
0answers
23 views

How to install multiple APKs in one folder to all ADB connected devices in WINDOWS

I have 2 android boxes connected using ADB in Windows through direct LAN connection. I would like to be able to push multiple APKs for installation. Currently, I am using single line command. It ...
0
votes
0answers
27 views

Set font scale in Android emulator using adb

I'm trying to change the font size in Android emulator (Pixel) programatically with adb. The commands are executed successfully but I see no difference in the font size. What is missing? Already ...
0
votes
0answers
22 views

How do I remove “Lock Screen Stories” settings option through adb on my Samsung Galaxy device with OneUI/Android 9 Pie

I have already disabled the "Lockscreen Stories" app through adb. Usually disabling an app also remove the setting associated with it but this time it didn't. The option is stuck there and tapping on ...
-2
votes
0answers
17 views

Can't preserve file ownership using ADB PUSH

Trying to replace an sqlite file in my android device and maintain the old sqlite file permissions (chmod) and ownership (chown). Any Help please
0
votes
1answer
16 views

How can I dump the whole screen when using ADB?

I am trying to get the Hierarchy of the whole screen using ADB. If I used adb shell uiautomator dump, I only get the current view and not the whole screen. For example if I dump the current view, and ...
0
votes
1answer
33 views

how to specify appium to one device only

I am automating an android device, my target is to automate everything and keep physical maintenance to a minimum. I have two devices with USB debugging on but, when I turn the appium server on it ...
-2
votes
0answers
21 views

run the application using python script

I have one android command line application I need to run the application using python script These are the commands i need to run to start my app and execute commands 1) adb shell 2) myapp 3) ...
1
vote
1answer
99 views

I can't able to install app-debug.apk into my phone

I used cordova [email protected] with JDK 1.8 or greater but there are still I'm able to run an app on my android mobile I try to run ionic Cordova run android and so try to remove and reinstall the ionic ...
-4
votes
0answers
17 views

I want to fix the problem while run cordova

When I type cordova run android, cordova run android --list, than two pictures occur. enter image description hereenter image description here enter image description here.imgur.com/2vXhq.jpg
0
votes
0answers
27 views

Is it possible to force android app into “Background” to test background execution limits

As you might know starting from Android 8 there are background execution limits. And there is another very popular stack overflow question about this topic. I came to this topic when I received an ...
1
vote
1answer
83 views

Solving missing run configuration in Android Studio for cloned Kotlin app

I have Android Studio 3.4 and have cloned a github respository of a Kotlin-based app (Voice). The subject of this question probably would find equivalence in other repositories as well. The cloning, ...
0
votes
0answers
11 views

I want to get the mode preference of SIM1 and SIM2 is set to using adb shell preferably

I am trying to find using adb shell commands how to find the mode preference set to for SIM1 and also for SIM2. With multi-sim phones, there is the technology and band specified for each SIM. So I ...
0
votes
0answers
25 views

How to avoid 'not responding' application after calling adb command

I do have a problem with calling adb command using subprocess.Popen p2 = subprocess.Popen('adb devices') p2.wait() This is an example command, I have to wait until adb command ends, and when it is ...
0
votes
0answers
23 views

install .APK to rooted device without user interaction

i already rooted my mi phone .. and i connected it to my computer at office and i left my office i travel for a week i need to install some .APK to my phone so i conncted to my office machine by ...
-1
votes
1answer
18 views

Error while running react app on physical device when it is already plugged-in

I have a problem with running react apps on my Android physical device when I already plug it inenter image description here.. Plus, I tried everything but "adb devices" still recieved an empty list....
0
votes
1answer
12 views

Android run single espresso test from command line

Is there a way to run a single test inside a UI test class in Android from the command line //I can run all the tests with this command $ adb shell am instrument -w -e class com.me.app.tests.Food....
0
votes
0answers
18 views

App device owner provision resets after launch

After provision an app as device owner on android 8.1.0, its automatically gets un-provisioned after app is executed for the first time. For the first execution, app remains device owner, but for ...
0
votes
0answers
14 views

Unable to identify the device by Android studio

I'm having trouble with Android studio. My program does not run inside the phone. Because my device is not detected by Android studio ADB. And this message will be given: Attempting to restart adb, ...
1
vote
1answer
29 views

Is there any alternative ways to create communication between Android and Computer via USB but not using Android Debug Bridge?

I want to send and recevice data between .NET application and Android Device by using USB. However, due to the security concerns, I do not desire to use Android Debug Bridge (USB debugging). Is there ...
0
votes
2answers
42 views

Unrecognizable device on Android

I want to run my code on the phone. But Android does not recognize my device. I also did the connection assistant. But the following error is given. please guide me.
1
vote
1answer
42 views

Is it possible view entire logcat of Android device (i.e. not attached to a specific process)?

Simple question, but is it possible to view the entire logcat output of an Android device in Android Studio? Meaning all of the logs from everything that's happening on the device, not necessarily ...
0
votes
0answers
8 views

Set media volume MAX in OCULUS GO, with adb shell

I want to set the volume to 100% with ADB. I'm using the command: adb shell media volume --stream 3 --set 15 I already tested with different values ( 1, 15, 100, 1000, 10, MAX .....) the volume has ...
-1
votes
1answer
20 views

adb pull fold (10G, 9000+files)

adb pull many many files win10 android7.1 microUsb ┌[seair] [⚡] └[C:\Windows\system32]> adb shell QK1801:/ $ exit ┌[seair] [⚡] └[C:\Windows\system32]> adb pull /storage/emulated/0/...
0
votes
0answers
20 views

install gluom App ADT via ADB and I get error“INSTALL_FAILED_NO_MATCHING_ABIS”

I try to install my app that build usin javafxports via ADB, or copy apk and install. bat i got error. adb -s emulator-5554 install MyApp.apk adb: failed to install MyApp.apk: Failure [...
1
vote
0answers
66 views

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 ...
0
votes
0answers
21 views

getting 'Could not connect to development server' error after enabling hot reloading

I am setting up an android studio application integrated with react native. It ran successfully on my device. When i enabled hot reloading in the Dev settings on the Device,I got this error: 'Could ...
0
votes
0answers
10 views

ADB: get notified in `DeviceAdminReceiver#onProfileProvisioningComplete`

I want to provision my kiosk app (for COSU device) using adb and get notified in onProfileProvisioningComplete method that I override in my Reciever that extends system's DeviceAdminReceiver. I was ...
0
votes
0answers
204 views

Cordova error: Failed to execute shell command “cat,/proc/cpuinfo”" on device

I am trying to program an android app with cordova (which worked on my Laptop) but I get this error for the command "adb -s shell cat /proc/cpuinfo" I trie already tried to reinstall Android Studio ...
0
votes
1answer
25 views

Accessing SPI driver with ADB

I have a SPI channel ennabled on my Android Eval board. With ADB, I get to # adb shell cat /sys/bus/spi/devices/spi0.0/uevent DRIVER=spidev OF_NAME=device OF_FULLNAME=/soc/[email protected]/[email protected] ...
1
vote
0answers
14 views

Send broadcast with extra `Bundle` using adb

I need to send the broadcast using adb. The broadcast Intent must contain extra PersistableBundle. Having searched thee documentation, I find no such thing. Is it possible? The documentation ...
0
votes
0answers
104 views

*** HELP *** ADB command line - Update/download Google Play Store apps

What I am trying to do is force all app to update before a certain app is launched so it has the latest version. When using ADB logcat, I am able to determine the course of action which showed it to ...
-1
votes
0answers
13 views

Why do I receive a null answer in adb shell?

I'm trying to restore the mobile data toggle on my note 4 device. When I type this command in the adb shell: settings get secure sysui_qs_tiles it returns null. Why is this? thanks