M
M
maaGames2016-12-14 18:15:06
Android
maaGames, 2016-12-14 18:15:06

Debugging two instances of the application, perhaps?

Subject.
Let me explain right away that this is a multiplayer game and I would like to run the debugger on two devices at once.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
maaGames, 2016-12-17
@maaGames

The solution turned out to be trivial:
File/Settings > Build,Execution,Deployment/Instant Run - Uncheck the "Instant run..." flag.
Instant run speeds up work with new devices on which API is higher than 20, for older ones it is almost useless anyway.
After that, you need to create a configuration (you can copy the existing one) and, switching to different configurations, you can independently start execution / debugging on different devices at the same time.

R
Rou1997, 2016-12-14
@Rou1997

Of course, it is possible that there are debuggers-servers on the devices, there is one client on the PC, but both devices need to be connected to the PC via USB, you can use a hub, or via Wi-Fi.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question