![]() | ID | APPLICATION | TYPE | STATUS | NODE | ADDRESS | ENDPOINTS | With the leading + symbol to the adb service, it exposes TCP port 5559 on the public address of the node.Īfterwards you can find the network endpoint of the instance in the output of the amc ls command: +-+-+-+-+-+-+-+ Since scrcpy requires ADB to establish the connection between your host and the instance, the ADB service must be enabled by default. The above command will launch a container instance from the default image. Use the -vm flag to launch a virtual machine. Install scrcpy from the Ubuntu snap store: sudo snap install scrcpy Therefore, you must install scrcpy in one of the following ways:īuild scrcpy from the source by following the official guide Scrcpy is not available from the official Ubuntu repositories. In the next sections, you will learn how to connect an instance running on Anbox Cloud via scrcpy. Scrcpy provides a simple way to display and control instances running on Anbox Cloud remotely. The AMS services enable connecting remotely over a network to instance via scrcpy. See the help output of the commands for further details. If you only want to watch the Android log output, use the following command: amc exec - anbox-shell logcatĪmc shell and amc exec open various possibilities for automation use cases. If you combined the anbox-shell command with amc exec, you can get direct access to the Android container: amc exec - anbox-shell To access the nested Android container, use the anbox-shell command inside the new shell. ![]() This command opens a bash shell inside the instance. To access a specific instance you only need its ID: amc shell The amc command provides simple shell access to any instance managed by AMS. ![]() ![]() You can do this on the command line with the amc command, or you can use scrcpy for graphical access. ![]() In some cases, it might be necessary to access an individual instance for debugging reasons. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |