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...
I'm using Android Studio 2.3 with SDK Build-Tools 25.0.2 and my problem was solved installing "Android Emulator":
Try to add the emulator on your PATH.
export PATH="$ANDROID_HOME/emulator:$PATH"
I just installed "Intel x86 Emulator Accelerator (HAXM installer)" in Android Studio
Tools > Android SDK Manager > SDK Tools
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.
Win 10 : i could solve this issue in two steps 1- Enable VT-x in Boise. 2- Enable it at windows : control panel > programs > add feature>VT-x
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With