Appium v1.0.0-beta.1 版本,运行 bootstrap 后开始报错。windows 系统
info: Running bootstrap
debug: spawning: D:\Program Files\Work\androideclipse\sdk\platform-tools\adb.exe -s 75860022
9FFC00000A3B9DEA05006025 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.
bootstrap.Bootstrap
info: [UIAUTOMATOR STDOUT] INSTRUMENTATION_RESULT: shortMsg=java.lang.RuntimeException
info: [UIAUTOMATOR STDOUT] INSTRUMENTATION_RESULT: longMsg=Didn't find class "io.appium.andr
oid.bootstrap.Bootstrap" on path: /system/framework/android.test.runner.jar:/system/framewor
k/uiautomator.jar::/data/local/tmp/AppiumBootstrap.jar
info: [UIAUTOMATOR STDOUT] INSTRUMENTATION_CODE: 0
info: UiAutomator exited
debug: executing: "D:\Program Files\Work\androideclipse\sdk\platform-tools\adb.exe" -s 75860
0229FFC00000A3B9DEA05006025 shell "echo 'ping'"
info: Attempting to uninstall app
debug: Not uninstalling app since server not started with --full-reset
info: Cleaning up android objects
error: UiAutomator quit before it successfully launched
info: Cleaning up appium session
error: Failed to start an Appium session, err was: Error: UiAutomator quit before it success
fully launched
info: Error: UiAutomator quit before it successfully launched
at null.<anonymous> (C:\Users\Administrator\AppData\Roaming\npm\node_modules\appium\lib\
devices\android\android.js:186:23)
at androidHybrid.cleanupChromedriver (C:\Users\Administrator\AppData\Roaming\npm\node_mo
dules\appium\lib\devices\android\android-hybrid.js:79:5)
at null.<anonymous> (C:\Users\Administrator\AppData\Roaming\npm\node_modules\appium\lib\
devices\android\android.js:181:10)
at null.<anonymous> (C:\Users\Administrator\AppData\Roaming\npm\node_modules\appium\lib\
devices\android\android.js:203:9)
at androidCommon.uninstallApp (C:\Users\Administrator\AppData\Roaming\npm\node_modules\a
ppium\lib\devices\android\android-common.js:400:5)
at null.<anonymous> (C:\Users\Administrator\AppData\Roaming\npm\node_modules\appium\lib\
devices\android\android.js:201:12)
at null.<anonymous> (C:\Users\Administrator\AppData\Roaming\npm\node_modules\appium\lib\
devices\android\android.js:210:11)
at C:\Users\Administrator\AppData\Roaming\npm\node_modules\appium\lib\devices\android\ad
b.js:883:7
at C:\Users\Administrator\AppData\Roaming\npm\node_modules\appium\lib\devices\android\ad
b.js:155:5
at ChildProcess.exithandler (child_process.js:635:7)
info: Responding to client with error: {"status":33,"value":{"message":"A new session could
not be created. (Original error: UiAutomator quit before it successfully launched)","origVal
ue":"UiAutomator quit before it successfully launched"},"sessionId":null}
POST /wd/hub/session 500 8923ms - 246b