You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,29 @@ python3 -m uiviewer -p <PORT>
56
56
57
57
```
58
58
59
+
# Environment
60
+
If you need to connect to a remote HDC Server or ADB server for remote device debugging, you must set the required environment variables before starting uiviewer.
61
+
62
+
HarmonyOS
63
+
```bash
64
+
export HDC_SERVER_HOST=127.0.0.1 # Replace with the remote host
65
+
export HDC_SERVER_PORT=8710
66
+
```
67
+
68
+
Android
69
+
```
70
+
export ANDROID_ADB_SERVER_HOST=127.0.0.1 # Replace with the remote host
71
+
export ANDROID_ADB_SERVER_PORT=5037
72
+
```
73
+
74
+
Remove Environment Variables, To unset the environment variables:
0 commit comments