错误:使用默认值的x86的CPU意外变体:x86 [英] Error: Unexpected CPU variant for X86 using defaults: x86

查看:2755
本文介绍了错误:使用默认值的x86的CPU意外变体:x86的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试执行我的项目后尝试在android studio 2.3.1中创建一个简单的数学游戏时,该应用会在模拟器中关闭并发出警告;

While trying to create a simple math game in android studio 2.3.1 after trying to execute my project, the app closes in emulator and gives warnings;

5-17 06:52:14.573 3088-3088/com.example.hp.game W/art: Unexpected CPU variant for X86 using defaults: x86
05-17 06:52:14.744 3088-3088/com.example.hp.game W/System: ClassLoader referenced unknown path: /data/app/com.example.hp.game-1/lib/x86
05-17 06:52:14.877 3088-3104/com.example.hp.game W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...

我试图解决问题,但是我不明白为什么会出现这些警告以及如何解决它们!

And I tried solving the problem, but I do not understand why these warnings come up and how to fix them!

推荐答案

根据源代码

x86_known_variants的定义是

static constexpr const char* x86_known_variants[] = {
    "atom",
    "sandybridge",
    "silvermont",
    "kabylake",
};

如果您的仿真器或设备是x86_64x86,您将看到此警告,可以忽略此警告.

If your emulators or devices are x86_64 or x86 you will see this warning which can be ignored.

这篇关于错误:使用默认值的x86的CPU意外变体:x86的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆