Problem to run in emulator
See original GitHub issueFrom @zhouhao27 on April 5, 2016 2:35
I created a blank application:
ionic start demo blank --v2 --ts
And trying to run:
ionic emulate ios
Then I got the following error message:
No target specified for emulator. Deploying to iPhone-6s-Plus, 9.3 simulator 2016-04-05 10:30:30.024 simctl[2343:32938] CoreSimulator is attempting to unload a stale CoreSimulatorService job. Existing job (com.apple.CoreSimulator.CoreSimulatorService.117.15.1.dltcnwGXJZL4) is from an older version and is being removed to prevent problems. logPath: /Users/myname/Projects/test/demo/platforms/ios/cordova/console.log
My system information:
Cordova CLI: 6.0.0
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.1
Ionic Version: 2.0.0-beta.3
Ionic CLI Version: 2.0.0-beta.23
Ionic App Lib Version: 2.0.0-beta.13
ios-deploy version: 1.8.2
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v5.3.0
Xcode version: Xcode 7.3 Build version 7D175
When I tried to run in android:
ionic run android
I got:
unning command: /Users/myname/Projects/demo/hooks/after_prepare/010_add_platform_class.js /Users/myname/Projects/demo add to body class: platform-android ANDROID_HOME=/Users/myname/Library/Android/sdk JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_76.jdk/Contents/Home ERROR running one or more of the platforms: Error: adb: Command failed with exit code 1 Error output: error: could not install smartsocket listener: Address already in use ADB server didn’t ACK
- failed to start daemon * error: cannot connect to daemon You may not have the required environment or OS to run this project
Have no idea why it says my Address already in use.
Copied from original issue: driftyco/ionic#6039
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
I am currently having this issue
I also encountered the same problem, I tried on several different MAC on the machine, the machine appears to have been installed in the virtual machine. But I don’t know how to solve it. Who will help me?
log::
BUILD SUCCESSFUL Total time: 1.685 secs Built the following apk(s): /Users/yangyang/ionicPro/platforms/android/build/outputs/apk/android-debug.apk
ANDROID_HOME=/Users/yangyang/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/
Error: adb: Command failed with exit code 1 Error output: error: could not install smartsocket listener: Address already in use ADB server didn’t ACK