今天我在用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
当我点击 Android 设备监视器时,也没有任何反应......
最佳答案
找到以下解决方案。 转到计算机中的以下目录:
C:\Users.android\avd
在此目录中,您将找到包含您的 avd 机器的定义和内容的所有文件和目录-
现在执行基本的故障排除步骤:
-检查avd目录是否存在,是否包含名为“sdcard.img”的文件。
-如果文件存在,尝试重命名它(检查它是否被锁定)然后去eclipse并要求创建一个新的sd卡。
-如果失败,请尝试使用该名称手动创建一个文件以检查权限。
祝你好运
关于java - AVD 未运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33417842/