Don't see genymotion virtual device at list

我们两清 提交于 2019-11-26 20:27:05

问题


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.


回答1:


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:

  1. cd to your Android SDK dir
  2. cd to platform-tools
  3. ./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




回答2:


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:

  1. Download the right zip
  2. Kill any running adb process
  3. Find the platform-tools folder in your Android SDK installation, and backup/rename it
  4. Unpack the zip in the parent of the platform-tools folder



回答3:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!