Could not launch './qemu/windows-x86_64/qemu-system-i386.exe': No such file or directory

匿名 (未验证) 提交于 2019-12-03 03:06:01

问题:

I followed everything in this link http://ionicframework.com/docs/guide/installation.html and I installed Genymotion in Android Studio... But I'm struggling with the shown error below... Whenever I'm running ionic run android or ionic emulate android:

Running command: "C:\Program Files\nodejs\node.exe"  C:\Users\t\todo\hooks\after_prepare\010_add_platform_class.js  C:/Users/t/todo add to body class: platform-android Running command: cmd "/s /c "C:\Users\t\todo\platforms\android\cordova\run.bat"" ANDROID_HOME=C:\Users\t\AppData\Local\Android\sdk JAVA_HOME=C:\Program Files\Java\jdk1.7.0_79\ WARNING : No target specified, deploying to emulator WARNING : no emulator specified, defaulting to Nexus_5_API_23_x86 Waiting for emulator... Could not launch './qemu/windows-x86_64/qemu-system-i386.exe': No such file or directory 

I'm really not getting how to rectify this part... any suggestion or help will be very grateful...

回答1:

I'm using Android Studio 2.3 with SDK Build-Tools 25.0.2 and my problem was solved installing "Android Emulator". Click here for view image



回答2:

I have same issue with you.

After I downgrade the Android SDK Tooks from 25 rc1 to 24.4.1 . The error has gone.



回答3:

Android emulator.exe path has been changed to /sdk/emulator folder on the newer sdk tools. ionic emulator command must be linked to older emulator.exe path so you should change related config file with new path.

I can't point which ionic config file is related with android emulator because i have never used ionic. But if you can change emulator.exe path with newer one, i am sure problem will gone.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!