Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use adb with emulator like Memu / Bluestacks / Nox App Player

I want to use adb with an android emulator. Can I fake a USB connection or how is this possible ?

Emulator is rooted, USB-Debugging Option is On

I also tried via apps like adbWireless but I get host has failed to respond (10060) error.

Do I always need a USB-connection for initializing? How is it possible to connect adb with an emulator?

like image 254
ThorstenM Avatar asked Jul 20 '16 09:07

ThorstenM


People also ask

Which is better MEmu or BlueStacks?

BlueStacks vs Nox vs LD Player vs Memu - Which is the best emulator? The internal benchmark tests conclusively prove that BlueStacks is hands down the best Android emulator in the market.

How do I connect my phone to MEmu?

1 Answer. Show activity on this post. First open android studio and memu play. After sometime if the memu play instance is detected you can use it, otherwise go to memu play shortcut file location and open command prompt by typing cmd in the bar where the path is present.


2 Answers

I am using a memu with Android 7 and after a lot of effort I realized that on this version of Android you have to change the port to 21513 ( memu version 7.2.7 / Android 7.1 )

adb connect 127.0.0.1:21513

I hope you find it useful

like image 140
Sh4msi Avatar answered Sep 20 '22 11:09

Sh4msi


I'm using Memu version 2.3 and the port used to connect it to Android studio is 21503. Navigate to your sdk's platformtools directory and execute the following in cmd.If it fails try to execute it again. You can also install samsung USB driver and try again.

adb connect localhost:21503
like image 37
MbaiMburu Avatar answered Sep 18 '22 11:09

MbaiMburu