Can I safely run multiple Android emulators on the same computer and exchange data using sockets?

I would like to simulate a small cluster of Android devices either on one laptop (in the worst case), or on several machines on a private network. This is for testing communications and process migration on Android.

Is there a safe way to identify and run a specific emulator from a given application in Eclipse? I have a recent installation of Eclipse / Java / ADT and I use various tutorials from Mark Murphy, Meyer and Abelson.

+3
source share
1 answer

Running multiple instances of the emulator from the Android documentation indicates that you can run multiple instances at the same time.

How to create two or more instances of an emulator on Windows or on Linux shows that instances can be created that use different ports.

You can also run multiple emulators in Eclipse from the Device Management tab. The port number will appear next to the name of the virtual device. For example, my-emulator-name (emulator-5556).

, ​​ , . - . , "adb forward" "redir add" .

. Android.

+6

Source: https://habr.com/ru/post/1723310/


All Articles