Yesterday my emulator worked stable and good. But today I can't launch my app because I don't see any of my genymotion devices. I have reinstalled my AS and Genymotion. I have reinstalled my virtual devices. But I still don't see any of my devices. I thought that I have problems with AS and I create AVD at Android Studio, and I managed to create a new device, but I didn't manage to launch my app. I don't know how to solve this problem. I saw this question. As I see at genymotion dashboard that my virtual device continue booting and can't finish his booting anyway.
Found solution! Looks, like this is some adb or Genymotion bug. To solve this, you must manually connect adb to running Genymotion Device In first, you need to know Androids internal IP. You can find it in window title of Genymotion device. Next:
- cd to your Android SDK dir
- cd to platform-tools
- ./adb connect 192.168.57.102:5555
where 192.168.57.102 is my IP address of Genymotion Virtual Device. You must put here your own
Update: This is no longer necessary with Genymotion 3.0.2
This is likely caused by a behavior change introduced in ADB in the Android SDK, in platform-tools 28.0.2.
The easiest workaround for now is to downgrade platform-tools to 28.0.1. Unfortunately the SDK manager does not let you do that easily, so you have to manually download the zip for your platform.
The urls for platform-tools 28.0.1 are:
- Linux: https://dl.google.com/android/repository/platform-tools_r28.0.1-linux.zip
- macOS: https://dl.google.com/android/repository/platform-tools_r28.0.1-darwin.zip
- Windows: https://dl.google.com/android/repository/platform-tools_r28.0.1-windows.zip
You have to:
- Download the right zip
- Kill any running
adbprocess - Find the
platform-toolsfolder in your Android SDK installation, and backup/rename it - Unpack the zip in the parent of the
platform-toolsfolder
This worked for me.
Go to Android-SDK\platform-tools ./adb kill-server
来源:https://stackoverflow.com/questions/55157822/dont-see-genymotion-virtual-device-at-list