最近玩React-Native時(shí)颁虐,調(diào)試項(xiàng)目Xcode那邊沒問題另绩,但是Android Studio這邊間歇性帶不起來(lái)Genymotion模擬器儒陨,運(yùn)行成功與否看人品蹦漠。但最近人品不好,無(wú)論怎樣都無(wú)法啟動(dòng)模擬器笛园,遂Google解決之侍芝。
無(wú)法啟動(dòng)模擬器時(shí)控制臺(tái)的日志信息
15:15:42 Errors found while svn working copies detection. Fix it.
15:16:11 error: could not install smartsocket listener: Address already in use
15:16:11 ADB server didn't ACK
15:16:11 * failed to start daemon *
15:16:11 error: cannot connect to daemon
15:16:11 '/Users/VaLenTi/Downloads/android-sdk-macosx/platform-tools/adb,start-server' failed -- run manually if necessary
逼太緊
原因
選擇了Genymotion默認(rèn)的Android tools,會(huì)與Android Studio SDK下的ADB沖突棵红。
解決辦法
- 在Genymotion的Setting界面咧栗,點(diǎn)擊‘ADB’,Android tools 選擇Android SDK(根目錄即可)下的楼熄。
如圖:
我親愛的你大事不妙
重新啟動(dòng)Genymotion和Android Studio運(yùn)行程序,解決错敢。
努力就一定會(huì)成攻
站街