question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem to run in emulator

See original GitHub issue

From @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:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
Grantlykcommented, Jun 21, 2016

I am currently having this issue

0reactions
andorcbacommented, Apr 18, 2017

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

  • failed to start daemon * error: cannot connect to daemon
Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot known issues with Android Emulator
Check for adequate disk space · Antivirus software · HAXM on unsupported versions of macOS · Android Emulator runs slowly after an update...
Read more >
Emulator in Android Studio doesn't start - Stack Overflow
The definitive solution is to set the ANDROID_EMULATOR_USE_SYSTEM_LIBS environment variable to 1 for your user/system. With this change, when I run the emulator ......
Read more >
Android Emulator Troubleshooting - Xamarin - Microsoft Learn
Hardware acceleration not available · Incorrect BIOS settings · Hyper-V issues · HAXM issues · HAXM process is not running.
Read more >
Unable to launch Android Studio Emulator? Try this
Unable to launch Android Studio Emulator? Try this ; 1. Download Intel's HAXM through Android SDK Manager.
Read more >
Unable to run android emulator · Issue #839 · microsoft/wslg
start android studio; open virtual device manager; try running an emulator. WSL logs: No response. WSL dumps: No response. Expected behavior ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found