我在Mac上使用React-Native,Android和Genymotion。当我运行react-native run-android我得到这行在启动操作结束:
... 04:54:40 E/adb: error: could not install *smartsocket* listener: Address already in use 04:54:40 E/adb: ADB server didn't ACK 04:54:40 E/ddms: '/Users/paulbrie/Library/Android/sdk/platform-tools/adb,start-server' Failed -- run manually if necessary 04:54:40 E/adb: * Failed to start daemon * 04:54:40 E/adb: error: cannot connect to daemon :app:installDebug Failed FAILURE: Build Failed with an exception. * What went wrong: Execution Failed for task ':app:installDebug'. > com.android.builder.testing.api.DeviceException: Timeout getting device list. ...
但是,adb设备返回:
List of devices attached 192.168.59.101:5555 device
到目前为止,我没有找到解决方案来运行我的应用程序在模拟器。有没有人遇到同样的问题?
谢谢,
保罗