Developing an application in the studio. Both the client and server parts were still one, but it was necessary to start the server remotely, then connect to it with a client. Compiling an APK file is elementary, but I didn’t figure out how to build a jar to start the server. Maybe someone came across?

As advised by @Yuriy SPb, I opened the Gradle panel, but did not find in it the assembleDebug / resease needed for assembly. I use LibGDX, the server starts in the main method of a separate class. enter image description here

  • At the top right of the studio there is a gradle panel. In it find assembleDebug / resease get the file - Yuriy SPb
  • Yuri, added the question with a picture and clarifications. Where exactly can it be found there? I did not find one that would correspond to the name of my class of server startup .. - Killersssurprise
  • It seems that somewhere in the build should be ... And the module itself should be either marked in the gradle. - Yuriy SPb

0