DevEco Studio Network Configuration Guide
DevEco Studio relies on a network connection for proper functionality.
When to Configure a Proxy
- Personal/Home Networks: Typically, no proxy configuration is needed.
- Enterprise Networks: Proxy settings may be required due to network restrictions.
Diagnosing the Development Environment
- On the welcome page, click Diagnose.
- If in a project, go to Help > Diagnostic Tools > Diagnose Development Environment.
Configuring the Proxy
-
Access Proxy Settings:
- From the welcome page: Customize > All Settings… > Appearance & Behavior > System Settings > HTTP Proxy.
- If in a project: File > Settings > Appearance & Behavior > System Settings > HTTP Proxy (or DevEco Studio > Preferences for macOS).
-
HTTP Proxy Configuration:
- Host Name: Proxy server's hostname or IP.
- Port Number: Proxy server's port.
- No Proxy For: URLs/IPs to bypass the proxy (separate with commas).
-
Proxy Authentication (if required):
- Login: Username for proxy access.
- Password: Password for proxy access.
- Remember: Check to save credentials.
Verifying the Connection
After configuration, click Check Connection and enter a URL (e.g., https://developer.huawei.com). A "Connection successful" message confirms the proxy is correctly set up.
Top comments (0)