android 例子 ContactManager.apk 运行失败
直接在模拟机上操作,add contact 添加联络人,也会报错 “Contact Manager has stopped”
debug: Appium request initiated at /wd/hub/session/cfc28f86-9ee6-4f1b-88e3-478f8
25d62e9/elements
debug: Request received with params: {"using":"tag name","value":"textfield"}
info: Invalid locator strategy: tag name
info: Responding to client with error: {"status":9,"value":{"message":"Invalid l
ocator strategy: tag name","origValue":"Invalid locator strategy: tag name"},"se
ssionId":"cfc28f86-9ee6-4f1b-88e3-478f825d62e9"}
POST /wd/hub/session/cfc28f86-9ee6-4f1b-88e3-478f825d62e9/elements 500 4ms - 197
b
debug: Appium request initiated at /wd/hub/session/cfc28f86-9ee6-4f1b-88e3-478f8
25d62e9
debug: Request received with params: {}
info: Shutting down appium session...
info: [ADB] Pressing the HOME button
debug: executing: "D:\xxl\java\adt-bundle-windows-x86_64-20140321\sdk\platform-t
ools\adb.exe" -s emulator-5554 shell "input keyevent 3"
info: Stopping logcat capture
debug: Logcat terminated with code null, signal SIGTERM
info: [BOOTSTRAP] [info] Got data from client: {"cmd":"shutdown"}
info: [BOOTSTRAP] [info] Got command of type SHUTDOWN
info: Sent shutdown command, waiting for UiAutomator to stop...
info: [BOOTSTRAP] [info] Returning result: {"value":"OK, shutting down","status"
:0}
info: [BOOTSTRAP] [info] Closed client connection
info: [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
info: [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.boots
trap.Bootstrap
info: [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [UIAUTOMATOR STDOUT] Time: 21.147
info: [UIAUTOMATOR STDOUT] OK (1 test)
info: [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: UiAutomator shut down normally
info: Cleaning up android objects
info: Cleaning up appium session
info: Responding to client with success: {"status":0,"value":null,"sessionId":"c
fc28f86-9ee6-4f1b-88e3-478f825d62e9"}
DELETE /wd/hub/session/cfc28f86-9ee6-4f1b-88e3-478f825d62e9 200 5998ms - 89b
求解答,在线等~
初学好多障碍啊