首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Cordova黑屏冷启动

Cordova黑屏冷启动
EN

Stack Overflow用户
提问于 2018-02-15 05:42:22
回答 1查看 473关注 0票数 0

我试着在默认的hello cordova项目上运行"cordova emulate android“,但是当我运行它时,我得到了一个警告:”冷启动:快照不存在“,而模拟器屏幕只是停留在黑色。以下是终端输出:

代码语言:javascript
复制
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.

我该如何解决这个问题呢?

附注:我在Ubuntu 16.04.3 LTS上使用的是andorid api版本26

EN

回答 1

Stack Overflow用户

发布于 2018-04-24 07:11:36

我回答了一个类似于此here的问题。快速:问题可能出在CPU硬件上。某些AVD Google API级别不能在不支持某些功能的CPU上很好地运行;在你的例子中是'SSSE3‘。试试更老的AVD Google API level <= 20。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48796714

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档