How to prevent launch Ionic app on emulator -
i'm working on ionic app , i'm trying run app on real android device, when run ionic run android in terminal, following error:
running command: "c:\program files (x86)\nodejs\node.exe" d:\wamp\www\pars-app\pars-app\hooks\after_prepare\010_add_platform_class.js d:\wamp\www\pars-app\pars-app
add body class: platform-android
android_home=d:\sdk\android-sdk
java_home=c:\program files\java\jdk1.8.0_45
no target specified, deploying emulator
error running 1 or more of platforms: no emulator images (avds) found. 1. download desired system image running: "d:\sdk\android-sdk\tools\android.bat" sdk 2. create avd running: "d:\sdk\android-sdk\tools\android.bat" avd hint: faster emulator, use intel system image , install haxm device driver
you may not have required environment or os run project
how prevent run app on windows emulator? want run app on real device conected computer.
i using windows 8 , huawei android 4.2.2
::note have read these questions, didn't got answer!
why not work ionic app testing on android real device?
ionic run android not run app on device
ionic run android - configurations not running app on device
as complement @oclyde answer, try :
adb kill-server adb start-server
to have infos these commands :
adb --help
nb : sometimes, reason not know, connection between phone , computer break. running fixes it.
Comments
Post a Comment