java - AVD 未运行

标签 java android performance android-studio android-service

今天我在用android studio做项目的时候,突然出现蓝屏,系统自动重启。现在,当我尝试使用模拟器运行我的应用程序时,AVD 没有运行,并且出现如下错误。有人遇到过这个吗?我该如何解决这个问题?

ProcessNotCreatedException: Unexpected error while launching AVD: Cannot run program "C:\Users\tongws\AppData\Local\Android\sdk\tools\emulator.exe": CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher

enter image description here

当我点击 Android 设备监视器时,也没有任何反应......

最佳答案

找到以下解决方案。 转到计算机中的以下目录:

C:\Users.android\avd

在此目录中,您将找到包含您的 avd 机器的定义和内容的所有文件和目录-

现在执行基本的故障排除步骤:

-检查avd目录是否存在,是否包含名为“sdcard.img”的文件。

-如果文件存在,尝试重命名它(检查它是否被锁定)然后去eclipse并要求创建一个新的sd卡。

-如果失败,请尝试使用该名称手动创建一个文件以检查权限。

祝你好运

关于java - AVD 未运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33417842/

相关文章:

javascript - 如何进行 Node.js 应用程序资源分析

java - JDBC4注解在哪里?

java - 具有指向 C 中结构节点的指针数组的结构节点

java - 打开移位 : maven compiler error : Base64 can not find the symbol

android - FileNotFound 异常 MediaPlayer android

android - TableLayout 中的右对齐列

javascript - 直接访问 javascript 数组是否更快?

java - Angular 调用 Java 服务时出现 CORS 错误

android - 如何在 android 中以编程方式结束传入/传出调用?

java - Java 后端服务的性能测试