我启动一个 webview 的 apk 的时候,Log 如下
debug: Appium request initiated at /wd/hub/session
debug: Request received with params: {"desiredCapabilities":{"app":"D:\MobileAu
to\apk\HybridApp.apk","platform":"windows","browserName":"","app-package":"com
.example.webview","device":"selendroid","app-activity":".WebViewActivity","versi
on":"4.4"}}
info: Using local app from desiredCaps: D:\MobileAuto\apk\HybridApp.apk
info: Creating new appium session cacd305a-7b98-4784-90fa-53ff1f049d12
info: Starting selendroid server
info: Checking whether selendroid is built yet
info: Selendroid server exists!
info: Preparing device for session
info: Checking whether app is actually present
info: Checking whether adb is present
info: [ADB] Using adb from D:\Android_SDK\sdk\platform-tools\adb.exe
info: Trying to find a connected android device
info: [ADB] Getting connected devices...
debug: executing: "D:\Android_SDK\sdk\platform-tools\adb.exe" devices
info: [ADB] 1 device(s) connected
info: Setting device id to emulator-5554
info: [ADB] Waiting for device to be ready and to respond to shell commands (tim
eout = 5)
debug: executing: "D:\Android_SDK\sdk\platform-tools\adb.exe" -s emulator-5554 w
ait-for-device
debug: executing: "D:\Android_SDK\sdk\platform-tools\adb.exe" -s emulator-5554 s
hell "echo 'ready'"
info: Starting logcat capture
info: Rebuilt selendroid apk does not exist, uninstalling any instances of it on
device to make way for new one
info: Uninstalling com.example.webview.selendroid
debug: executing: "D:\Android_SDK\sdk\platform-tools\adb.exe" -s emulator-5554 u
ninstall com.example.webview.selendroid
debug: App was not uninstalled, maybe it wasn't on device?
info: Rebuilt selendroid server does not exist, inserting modified manifest
info: Inserting selendroid manifest
info: Checking whether aapt is present
info: [ADB] Using aapt from D:\Android_SDK\sdk\build-tools\18.0.1\aapt.exe
info: Compiling manifest C:\Windows\Temp\com.example.webview\AndroidManifest.xml
info: Cleaning up appium session
error: Failed to start an Appium session, err was: Error: Required platform does
n't exist (API level >= 17)
info: Responding to client with error: {"status":33,"value":{"message":"A new se
ssion could not be created. (Original error: Required platform doesn't exist (AP
I level >= 17))","origValue":"Required platform doesn't exist (API level >= 17)"
},"sessionId":null}
POST /wd/hub/session 500 3841ms - 248b
我看了下 Log,好像是 selendroid 启动不了,这个怎么解决啊?谢谢!