科尔多瓦黑屏冷启动

时间:2018-02-14 21:42:22

标签: android cordova android-studio

我正在尝试运行" cordova模拟android"在默认的hello cordova项目中,但是当我运行它时,我得到一个警告说"冷启动:快照不存在",并且模拟器屏幕只是保持黑色。这是终端输出:

BUILD SUCCESSFUL in 3s
47 actionable tasks: 1 executed, 46 up-to-date
Built the following apk(s): 
    /home/marc/Documents/Tests/cordova/hello/platforms/android/app/build/outputs/apk/debug/app-debug.apk
ANDROID_HOME=/home/marc/Android/Sdk
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
No emulator specified, defaulting to test
Waiting for emulator to start...
emulator: Requested console port 5584: Inferring adb port 5585.
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.
warning: host doesn't support requested feature: CPUID.01H:ECX.ssse3 [bit 9]
emulator: WARNING: Not saving state: emulator hasn't finished booting.

我该如何解决这个问题?

P.S。我在Ubuntu 16.04.3 LTS上使用andorid api版本26

1 个答案:

答案 0 :(得分:-1)

我回答了类似于here的问题。快速:问题可能是您的CPU硬件。某些AVD Google API级别在不支持某些功能的CPU上运行不正常;在您的情况下' SSSE3'。尝试较旧的AVD Google API级别< = 20。