求助,夜神模拟器+Appium+python脚本,遇到下面问题,以下为Appium的log

> Launching Appium server with command: C:\Program Files (x86)\Appium\node.exe lib\server\main.js --address 127.0.0.1 --port 4723 --app C:\Users\liwei9\Downloads\weixin_1220.apk --platform-name Android --platform-version 23 --automation-name Appium --device-name "127.0.0.1:62001" --log-no-color
> info: Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
> info: Appium REST http interface listener started on 127.0.0.1:4723
> info: [debug] Non-default server args: {"app":"C:\\Users\\liwei9\\Downloads\\weixin_1220.apk","address":"127.0.0.1","logNoColors":true,"deviceName":"127.0.0.1:62001","platformName":"Android","platformVersion":"23","automationName":"Appium"}
> info: Console LogLevel: debug
> info: --> POST /wd/hub/session {"capabilities":{"alwaysMatch":{"platformName":"android"},"firstMatch":[{}]},"desiredCapabilities":{"platformVersion":"4.4.2","deviceName":"127.0.0.1:62001","platformName":"android","appActivity":"com.tencent.mm.ui.LauncherUI","appPackage":"com.tencent.mm"}}
> info: Client User-Agent string: Python http auth
> info: [debug] Using local app from command line: C:\Users\liwei9\Downloads\weixin_1220.apk
> info: [debug] Creating new appium session ee701344-6b1e-42ad-a25e-846638d0bc7c
> info: Starting android appium
> info: [debug] Getting Java version
> info: Java version is: 1.8.0_101
> info: [debug] Checking whether adb is present
> warn: The ANDROID_HOME environment variable is not set to the Android SDK root directory path. ANDROID_HOME is required for compatibility with SDK 23+. Checking along PATH for adb.
> info: [debug] executing cmd: where adb
> info: [debug] Using adb from D:\Android\android-sdk\platform-tools\adb.exe

> info: [debug] Using fast reset? true
> info: [debug] Preparing device for session
> info: [debug] Checking whether app is actually present
> info: Retrieving device
> info: [debug] Trying to find a connected android device
> info: [debug] Getting connected devices...
> info: [debug] executing cmd: "D:\Android\android-sdk\platform-tools\adb.exe" devices
> info: [debug] 1 device(s) connected
> info: Found device 127.0.0.1:62001
> info: [debug] Setting device id to 127.0.0.1:62001
> info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
> info: [debug] executing cmd: "D:\Android\android-sdk\platform-tools\adb.exe" -s 127.0.0.1:62001 wait-for-device
> info: [debug] executing cmd: "D:\Android\android-sdk\platform-tools\adb.exe" -s 127.0.0.1:62001 shell "echo 'ready'"
> info: [debug] Starting logcat capture
> error: Logcat capture failed: spawn "D:\Android\android-sdk\platform-tools\adb.exe" ENOENT
> info: [debug] Stopping logcat capture

你可能感兴趣的:(求助,夜神模拟器+Appium+python脚本,遇到下面问题,以下为Appium的log)