@402d
начинал с бейсика на УКНЦ в 1988

Interconnecting emulator instances. Есть ли решение, которое просто сделает локалку между эмуляторами?

https://developer.android.com/studio/run/emulator-...
В мане приводиться неудобный способ.

To allow one emulator instance to communicate with another, you must set up the necessary network redirection as illustrated below.

Assume that your environment is

A is your development machine
B is your first emulator instance, running on A
C is your second emulator instance, also running on A
and you want to run a server on B, to which C will connect, here is how you could set it up:

Set up the server on B, listening to 10.0.2.15:
On the B console, set up a redirection from A:localhost: to B:10.0.2.15:
On C, have the client connect to 10.0.2.2:


может кто видел аддон или утилиту, чтобы эмуляторы просто получали ип как по DHCP и могли общаться напрямую между собой. Идеально , чтобы и https://developer.android.com/training/connect-dev... работал
  • Вопрос задан
  • 25 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы