简体   繁体   中英

Unable to deploy to Genymotion device through Android Studio

I'm currently using Genymotion with Android Studio via the Genymotion plugin to try to test and debug my Android applications. I set up the Android Studio Genymotion plugin a while ago, and it worked. However, just now I tried to deploy my application to Genymotion, but after starting my Genymotion device, it did not appear in the ADB deployment list. I have no idea what happened or why. Does anyone have any idea?

By the way, this means I cannot test my application, as I cannot use the regular ADB virtual device set as per this other continuing issue: How to create an Android AVD without HAXM?

Thanks!

It is potentially an incompatibility problem between the adb shipped with Genymotion and the one from your Android SDK.

Turn all your Genymotion devices off.

Then open Genymotion application (not the IDE plugin), go to settings > adb tab > check "use custom adb" and set the path to yout Android SDK.

Then reopen a device and you should see it on your IDE.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM