{"action":"closed","issue":{"url":"https://api.github.com/repos/alibaba/macaca/issues/214","repository_url":"https://api.github.com/repos/alibaba/macaca","labels_url":"https://api.github.com/repos/alibaba/macaca/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/macaca/issues/214/comments","events_url":"https://api.github.com/repos/alibaba/macaca/issues/214/events","html_url":"https://github.com/alibaba/macaca/issues/214","id":178276174,"number":214,"title":"求助！ windows环境macaca一直无法成功连接android模拟器和真机","user":{"login":"githublue","id":22340434,"avatar_url":"https://avatars.githubusercontent.com/u/22340434?v=3","gravatar_id":"","url":"https://api.github.com/users/githublue","html_url":"https://github.com/githublue","followers_url":"https://api.github.com/users/githublue/followers","following_url":"https://api.github.com/users/githublue/following{/other_user}","gists_url":"https://api.github.com/users/githublue/gists{/gist_id}","starred_url":"https://api.github.com/users/githublue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/githublue/subscriptions","organizations_url":"https://api.github.com/users/githublue/orgs","repos_url":"https://api.github.com/users/githublue/repos","events_url":"https://api.github.com/users/githublue/events{/privacy}","received_events_url":"https://api.github.com/users/githublue/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alibaba/macaca/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":{"login":"xudafeng","id":1011681,"avatar_url":"https://avatars.githubusercontent.com/u/1011681?v=3","gravatar_id":"","url":"https://api.github.com/users/xudafeng","html_url":"https://github.com/xudafeng","followers_url":"https://api.github.com/users/xudafeng/followers","following_url":"https://api.github.com/users/xudafeng/following{/other_user}","gists_url":"https://api.github.com/users/xudafeng/gists{/gist_id}","starred_url":"https://api.github.com/users/xudafeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xudafeng/subscriptions","organizations_url":"https://api.github.com/users/xudafeng/orgs","repos_url":"https://api.github.com/users/xudafeng/repos","events_url":"https://api.github.com/users/xudafeng/events{/privacy}","received_events_url":"https://api.github.com/users/xudafeng/received_events","type":"User","site_admin":false},"assignees":[{"login":"xudafeng","id":1011681,"avatar_url":"https://avatars.githubusercontent.com/u/1011681?v=3","gravatar_id":"","url":"https://api.github.com/users/xudafeng","html_url":"https://github.com/xudafeng","followers_url":"https://api.github.com/users/xudafeng/followers","following_url":"https://api.github.com/users/xudafeng/following{/other_user}","gists_url":"https://api.github.com/users/xudafeng/gists{/gist_id}","starred_url":"https://api.github.com/users/xudafeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xudafeng/subscriptions","organizations_url":"https://api.github.com/users/xudafeng/orgs","repos_url":"https://api.github.com/users/xudafeng/repos","events_url":"https://api.github.com/users/xudafeng/events{/privacy}","received_events_url":"https://api.github.com/users/xudafeng/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-09-21T08:11:27Z","updated_at":"2016-09-21T10:19:39Z","closed_at":"2016-09-21T10:19:39Z","body":"**问题：**\r\n解决了sdk文件路径空格问题后，又有下面两个问题，快疯了！\r\n\r\n1. windows环境下，adb命令的路径名称为啥有正反两个斜杠：D:\\AndroidSDK\\Android\\android-sdk/platform-tools/adb？\r\n2. 日志错误信息显示需要将一个文件push进设备里，然而进到实际安装文件夹下找C:\\Users\\Administrator\\node_modules\\.1.0.19@uiautomator-client\\bin\\uiautomator-bootstrap.jar， 这个包不存在啊， bin文件夹也不存在啊！ 什么东西没安装成功吗？\r\n\r\n**安装信息如下：**\r\n\r\n  macaca-doctor version: 1.0.19\r\n\r\n  Node.js checklist:\r\n\r\n  node env: C:\\Program Files\\nodejs\\node.exe\r\n  node version: v6.2.0\r\n\r\n  Android checklist:\r\n\r\n  JAVA version is `1.7.0_67`\r\n  JAVA_HOME is set to `C:\\Program Files\\Java\\jdk1.7.0_67`\r\n  ANDROID_HOME is set to `D:\\AndroidSDK\\Android\\android-sdk`\r\n  Platforms is set to `D:\\AndroidSDK\\Android\\android-sdk\\platforms\\android-24`\r\n  Android tools is set to `D:\\AndroidSDK\\Android\\android-sdk\\tools\\android.bat`\r\n  ADB tool is set to `D:\\AndroidSDK\\Android\\android-sdk\\platform-tools\\adb.exe`\r\n  ANT_HOME is set to `C:\\apache-ant-1.9.7`\r\n\r\n  Installed driver list:\r\n\r\n  android: 1.0.28\r\n  chrome: 1.0.2\r\n  ios: 1.0.37\r\n\r\n\r\n**日志信息如下：**\r\n\r\n>> index.js:17:12 [master] pid:24760 webdriver server start with config:\r\n { port: 3456,\r\n  window: true,\r\n  ip: '172.25.127.1',\r\n  host: 'honest-pc',\r\n  loaded_time: '2016-09-21 15:51:55' }\r\n>> middlewares.js:17:10 [master] pid:24760 base middlewares attached\r\n>> router.js:108:10 [master] pid:24760 router set\r\n>> webdriver sdk launched\r\n>> \r\n\r\n>> \r\n\r\n>> macaca mobile sample\r\n\r\n>> responseHandler.js:11:12 [master] pid:24760 Recieve HTTP Request from Client: method: POST url: /wd/hub/session, jsonBody: {\"desiredCapabilities\":{\"autoAcceptAlerts\":true,\"platformName\":\"Android\",\"app\":\"D:\\\\macaca-test-sample\\\\app\\\\android-app-bootstrap.zip\",\"browserName\":\"firefox\",\"version\":\"\",\"javascriptEnabled\":true,\"platform\":\"ANY\"}}\r\n>> session.js:47:10 [master] pid:24760 Creating session, sessionId: c4efd71f-b3a8-4229-a149-087419df0006.\r\n>> helper.js:194:12 [master] pid:24760 Unzipping local app form D:\\macaca-test-sample\\app\\android-app-bootstrap.zip\r\n>> responseHandler.js:50:12 [master] pid:24760 Send Error Respone to Client: Error: Command failed: **D:\\AndroidSDK\\Android\\android-sdk/platform-tools/adb** -s da36cc17 push **C:\\Users\\Administrator\\node_modules\\.1.0.19@uiautomator-client\\bin\\uiautomator-bootstrap.jar** /data/local/tmp\r\n\r\n>> responseHandler.js:56:14 [master] pid:24760 Error: Command failed: **D:\\AndroidSDK\\Android\\android-sdk/platform-tools/adb** -s da36cc17 push **C:\\Users\\Administrator\\node_modules\\.1.0.19@uiautomator-client\\bin\\uiautomator-bootstrap.jar** /data/local/tmp\r\n\r\n    at ChildProcess.exithandler (child_process.js:202:12)\r\n    at emitTwo (events.js:106:13)\r\n    at ChildProcess.emit (events.js:191:7)\r\n    at maybeClose (internal/child_process.js:850:16)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)\r\n>> "}}
{"actor":{"display_login":"xudafeng"}}