【问题标题】:Error when starting the android emulator in android studio在android studio中启动android模拟器时出错
【发布时间】:2015-12-22 10:36:01
【问题描述】:

我试图在 android studio 中运行模拟器,模拟器正在打开但只显示黑屏并给出一些错误,例如 emulator: WARNING: UpdateCheck: failed to get the latest version, skipping check (current version '24.4. 1'

完整的错误为

C:\Users\40131230\AppData\Local\Android\sdk1\tools\emulator.exe -netdelay none -n​​etspeed full -avd Nexus_5_API_22 模拟器:警告:打开音频输入失败 模拟器:模拟器窗口不在视野范围内,并已居中 模拟器:警告:.//android/metrics/metrics_reporter_ga.c:138: curl_easy_perform() 失败,代码为 6(错误) 模拟器:警告:.//android/metrics/metrics_reporter_ga.c:145:得到 HTTP 响应代码 0 模拟器:警告:.//android/metrics/metrics_reporter_toolbar.c:92:curl_easy_perform() 失败,代码为 6(错误) 模拟器:警告:.//android/metrics/metrics_reporter_toolbar.c:100:得到 HTTP 响应代码 0 模拟器:警告:UpdateCheck:无法获取 URL:6(错误) 模拟器:警告:UpdateCheck:获取最新版本失败,跳过检查(当前版本'24.4.1'

我的模拟器设置在屏幕截图中 Screen Shot of Emulator setting

如何解决这个问题有人帮我解决这个错误

谢谢。

【问题讨论】:

    标签: android android-emulator


    【解决方案1】:

    使用以下命令从命令行启动模拟器:

    emulator.exe -avd <avd_name> -no-audio -http-proxy <proxy_name>:<proxy_port>
    

    【讨论】:

    • 在控制台中,通常在下方。
    猜你喜欢
    • 2016-08-08
    • 2015-09-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-01-30
    相关资源
    最近更新 更多