2016-07-14 164 views
1

我无法在 - 重载模式下运行我的Ionic应用程序。它给了我一个错误:无法运行Ionic应用程序

Error: C:\softwares\android-sdks\platform-tools\adb.exe: Command failed with exit code 1 Error output: 
    error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket address (protocol/network address/port) is normally permitted. (10048) 
    could not read ok from ADB Server 
    * failed to start daemon * 
    error: cannot connect to daemon 

我启动任务管理器,发现3 adb服务器正在运行。我试图杀死他们,但无法做到这一点。请帮忙。

+0

https://code.google.com/p/android/issues/detail?id=184713 –

+0

它不是为我工作 –

+0

请提供另外一个解决方案 –

回答

0

我用genymotion运行应用程序时遇到同样的问题。我在配置genymotion的adb设置中给出了我的sdk的自定义路径。它为我工作。 如果有sdk路径重复,也会出现同样的问题。所以你也应该检查你的环境变量。