简体   繁体   中英

Android Studio Unable to Find Genymotion Device

Been trying to load a test Android app onto my Genymotion VM for awhile now. My issue is, I have been unable to get the Genymotion device to show up in the "connected devices", even though the device shows up in the Android Studio Genymotion plugin.

These are my depencies:

compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.google.android.gms:play-services:6.+'
compile files('libs/temboo-android-sdk-core-2.12.0.jar')
compile files('libs/Google-2.12.0.jar')

The Genymotion plugin was able to find my two devices:

在此处输入图片说明

However, according to Android Studio, there are still no connected devices:

在此处输入图片说明

Even the logs appear to show that the app was loaded, however, when I opened Genymotion, I am unable to find my application:

在此处输入图片说明

I've tried using Run , Debug , and more, but was just unable to get my application onto my Genymotion VM.

You would have to do the port forwarding on the gennymotion for it to be detected.

adb connect XXX.XXX.XXX:PORT

Discussion about it

Forwarding can be done for gennymotion... Here's a link

Explantion about this forwarding thing...

转发端口号

See this above image, it has the host port(Operating system) and the Guest port(Its the Genny motion).So we tell to the Virtual box to forward all connections of Genny's internal port to the OS port.

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