Skip to content

Commit

Permalink
chore: fix issues with published output
Browse files Browse the repository at this point in the history
  • Loading branch information
keirthana committed Aug 14, 2024
1 parent f2b8615 commit c11f2e3
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions howto/android/access-instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,22 @@ First, install the `anbox-connect` snap from the snap store:

Generate a presigned connection URL in either of the following ways:

- **From the Dashboard**:
In the *Instances* list view, locate a running instance and click *Connect ADB* ( ![Connect ADB|16x16](https://assets.ubuntu.com/v1/51973cea-adb-connect-icon.png) ).
**From the Dashboard**

In the *Instances* list view, locate a running instance and click *Connect ADB* ( ![Connect ADB|16x16](https://assets.ubuntu.com/v1/51973cea-adb-connect-icon.png) ).
*Authorise* the connection and copy the command provided.

- **From the Command Line**:
* For a full Anbox Cloud deployment:
**From the Command Line**:

For a full Anbox Cloud deployment, run:

anbox-stream-gateway session share <session_id>
anbox-stream-gateway session share <session_id>

* For the Anbox Cloud Appliance:
For the Anbox Cloud Appliance, run:

anbox-cloud-appliance.gateway session share <session_id>
anbox-cloud-appliance.gateway session share <session_id>

This command will return a presigned URL that you can use to connect to the remote Android instance.
This command will return a presigned URL that you can use to connect to the remote Android instance.

```{note}
Each presigned URL can only be used to establish a single ADB connection. If multiple users attempt to use the same presigned URL, any existing ADB connection will be interrupted to allow the new request to succeed.
Expand All @@ -47,7 +49,7 @@ Open a terminal and use the `anbox-connect` command to establish a secure ADB co

After the ADB channel is established, the following output will be displayed:

Access to the remote Anbox Cloud instance over ADB is now possible. Please run
Access to the remote Anbox Cloud instance over ADB is now possible. Please run:

$ adb connect 127.0.0.1:32985

Expand Down

0 comments on commit c11f2e3

Please sign in to comment.