2017/01/27

How to connect multiple NOX instances in Android studio

About

NOX is a great android emulator. So I am wondering how to replace the default emulator from Android studio with NOX.

How to create multiple nox instances

After installing the NOX, there should be an icon about Multi-drive.
So, double click it and you can add more than one NOX instances just like below
For demonstration (and that’s all I need), there are 2 NOX instances.

How to connect NOX instances

  • For each of your NOX instances, following tutorial here to enable the developer mode.
  • Keep instances running and head to the console to get the IP:PORT information of your instances by command nox_adb.exe devices just like below
If you don’t know what adb is, here is a link from google to know more about it.
  • Link up android studio and NOX instances
After knowing IP:PORT of your NOX instances, you can setup a link for android studio and NOX.
At first, andriod studio cannot detect them after clicking the start button in the red square:
Back to the console, and type command nox_adb.exe connect IP:PORT
Then, you should be able to see them from android studio
Happy coding :P

沒有留言:

張貼留言