Category "adb"

How to check adb access over ethernet?

I want to connect my Android device via ethernet to access adb. The device is not connected to any internet/wifi. The ethernet cable should connect the laptop w

Could not connect to TCP port: Connection refused when trying to open Expo app on Android Emulator in WSL2

I've been following this guide https://medium.com/@pellea/using-adb-with-wsl2-7aebbb070a47 and so far have gotten to the point where WSL2 can see the emulator(s

IntelliJ IDEA and Android Studio create ADB conflict: Could not connect to remote process

I use the latest release of IDEA (now 2021.2.2) to develop the backend (and running tests) and the latest of Android Studio (now 2020.3.1) for the mobile app. W

I'm using Expo App in my Android Device to connect into the my Desktop's Expo

I'm using Expo App on my Android device to connect to my Desktop (Ubuntu 20.04.4 LTS) Expo (I signed in both my same Expo Account)I am also connected to the sam

Simulate Bluetooth "Out of range" scenarios for test automation

I've an Android phone which needs to be paired with an embedded device (Qt based application on Linux) which we test. I've automated the basic scenarios using A

Failure [INSTALL_FAILED_USER_RESTRICTED: Invalid apk] in android

I am using Android Studio 3.0.1. When i am trying to run app INSTALL_FAILED_USER_RESTRICTED: Invalid apk error occurs. I also disable Instant Run.

How to prevent adb client from auto starting adb server?

It seems like whenever adb client cannot communicate with adb server, it automatically starts it. Is there a way to prevent adb server from automatically starti

Broadcast receiver not working for INITIALIZE_PROGRAMS action

I'm developing an Android TV app, and I'm setting up a broadcast receiver to run a work class when the user installs the app. Following the Google documentation

How can I launch the Samsung RTL Client JNLP to use adb? (instead of the new web Client)

I want to debug my Android app for some bug that happens only on some Samsung devices so I tried using Samsung Remote Test Lab. But I want to debug using adb or

How can I launch the Samsung RTL Client JNLP to use adb? (instead of the new web Client)

I want to debug my Android app for some bug that happens only on some Samsung devices so I tried using Samsung Remote Test Lab. But I want to debug using adb or

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 '

Android Studio BumbleBee pair wifi not working

I am trying to connect my Android 11 device with the android studio over adb wifi but it is not working. I updated to the latest stable bumblebee and updated my

How to debug over wifi with Android Studio

I am trying to set up to debug an Android app on a tablet (running 6.0.1) over wifi (not over USB, because the app needs hardware plugged into the USB port). G

What exactly is the difference between physical density and physical density of a device?

I have created a function to calculate diagonal screen size based on the resolution and pixel density. viz- def find_display_size(d): width=float(720); he

Where is adb located when installing Unity and Android SDK for Mac?

I'm getting Android Build Failures and would like to locate adb to do some queries like adb devices but where is adb installed? I've already installed the Andro

Android Studio 'Loading Devices' unable to active

I am facing a problem, My android studio application. Loading Devices is disabling. I tried many ways to resolve that. but nothing didn't work. -Create a New Pr

ADB exec-out not working

I'm trying to capture my android emulator screen using ADB commands, but when I execute the command nothing happens, no error and no image, this is the command

How does adb find the USB port #?

When I run "adb devices -l", it is able to display the USB port info as "usb:xxxxxxx". Does anyone know how adb pulls this info? I'm trying to figure out how I

ADB equivalent for iOS device

I was looking some instrument like Android ADB in order to debug iOS devices. I've found iOS instrument, a tool of the XCode that is able to debug app on mobile

ADB Android Device Unauthorized

Since I reinstalled Eclipse (simply deleted and downloaded it again) I can't debug my applications on Samsung Galaxy i9001 (with CyanogenMod - Android 4.4.2). I