【问题标题】:First time trying Android Studio. Emulator won't start - Linux第一次尝试 Android Studio。模拟器无法启动 - Linux
【发布时间】:2020-01-14 18:43:02
【问题描述】:

操作系统:Linux Mint 19.1
Android Studio:android-studio-ide-191.6010548-linux
CPU:AMD Phenom(tm) II X4 965 处理器
内存:16GB
API等级:22;安卓:5.1

我正在关注本指南:https://codelabs.developers.google.com/codelabs/build-your-first-android-app/#2

我已达到第 5 步,但模拟器没有启动。

  • 我已尝试同时使用硬件和软件 GPU。
  • 我已将hw.audioInputhw.gps 设置为no

使用命令./emulator -avd 7_WSVGA_Tablet_API_22 -netspeed full -netdelay none~/Android/Sdk/tools 运行模拟器会返回以下内容:

emulator: WARNING: encryption is off
emulator: WARNING: Host CPU is missing the following feature(s) required for x86 emulation: SSSE3
Hardware-accelerated emulation may not work properly!
emulator: WARNING: Not all modern X86 virtualization features supported, which introduces problems with slowdown when running Android on multicore vCPUs. Setting AVD to run with 1 vCPU core only.
emulator: INFO: QtLogger.cpp:68: Warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled ((null):0, (null))


host doesn't support requested feature: CPUID.01H:ECX.ssse3 [bit 9]
checkValid: hw configs not eq

一堆我无法清除的警告。

你怎么看?

【问题讨论】:

  • 您在模拟器中使用的是哪个 Android 版本?
  • API 级别:22 ;安卓:5.1。
  • 检查 here 你的 CPU 是否列出?
  • 不是真的,不。
  • 但是 API Level: 22 ; Android:5.1 是我可以在任何平板电脑的虚拟设备配置中使用的最低版本。这是否意味着我不能在我的电脑上编程?

标签: android android-studio


【解决方案1】:

确保在 BIOS 中启用了硬件虚拟化支持。也看这里:https://developer.android.com/studio/run/emulator-acceleration.html

【讨论】:

    猜你喜欢
    • 2015-02-18
    • 1970-01-01
    • 1970-01-01
    • 2017-09-28
    • 2019-01-09
    • 2021-12-28
    • 2022-10-06
    相关资源
    最近更新 更多