React-Native, Android, Genymotion: ADB server didn't ACK
After more research I've realized that Genymotion uses by default its own adb.
I switched to my main adb (the same used by react-native) and it solved the issue. I guess that because Genymotion's adb was launched first I got the Address already in use
error message.
Expo/GenyMotion throws ADB server didn't ACK when running project
The solution, at least for me, was that I needed to add export PATH="/home/darik/projects/android/genymotion/tools:$PATH"
to my .bashrc
file. I'm guessing the reason the ADB server wasn't ACKing was that Expo couldn't find the ADB server in my path env variable.
Genymotion doesn't work ADB server didn't ACK on Windows
This happens when the adb
binary used by Genymotion is incompatible with the one from Android Studio.
The setting you set should avoid the problem, but you must "reset" your setup to make sure all the softs use the exact same adb binary. I suggest you to close all the Genymotion devices, then close Android Studio and restart all.
Also, check that the adb
you are using on your terminal is the one from the Android SDK.
expo cli and ADB error: can not connect to daemon
Error occurred because the current computer and emulator are not connected.
Did you set up the Genymotion as described in the error?
If you hadn't, go to Settings -> ADB, select "Use custom Android SDK tools" ->
and point it at your Android SDK directory.
/Users/username/Library/Android/sdk
Run emulator, click developer options
, enable USB debugging
and enable Wi-Fi to Cellular
.
Run the Genymotion Shell
and type devices list
to find the IP address of the device.
Open the terminal and enter adb connect deviceIp:5555
. Make sure the connection to adb device
is correct. Enter adb usb
and adb tcpip 5555
.
Related Topics
Android Volley Self Signed Https Trust Anchor for Certification Path Not Found
What's the Maximum Size for an Android Shared Preference Value
Google Maps API V2 'Failed to Load Map. Could Not Contact Google Servers'
Jpeg Images Have Different Pixel Values Across Multiple Devices
Mapview Rendering with Tiles Missing with an "X" in the Center
Tasksnapshot.Getdownloadurl() Is Deprecated
Failed to Find Target with Hash String 'Android-22'
Actionbarsherlock - How to Set the Padding of Each Actionbar's Icon
Place Imageview Over Button Android
How to Use the Gradle Build System for Android with Eclipse
Java.Lang.Noclassdeffounderror: Android.Support.V7.Appcompat.R$Styleable
Why the View Keeps Flashing When Using Jetpack Navigation with Compose
Android, How to Create Option Menu
How to Hide Android Soft Keyboard on Edittext
Android Background Drawable Not Working in Button Since Android Studio 4.1