xiaocong / uiautomator

Python wrapper of Android uiautomator test tool.
MIT License
2.04k stars 644 forks source link

error raised when manually starting rpc server. #72

Open fancylear opened 10 years ago

fancylear commented 10 years ago

Hi. There raised an error when I manually starting rpcserver follows the FAQ section step by step.

STEP 1. Adb push the downloaded jar files to /data/local/tmp/ PASSED

STEP 2. Start jsonrpc server via command: adb shell uiautomator runtest bundle.jar uiautomator-stub.jar -c com.github.uiautomatorstub.Stub

C:\Windows\system32>adb shell uiautomator runtest bundle.jar uiautomator-stub.ja r -c com.github.uiautomatorstub.Stub INSTRUMENTATION_STATUS: numtests=1 INSTRUMENTATION_STATUS: stream= com.github.uiautomatorstub.Stub: INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner INSTRUMENTATION_STATUS: test=testUIAutomatorStub INSTRUMENTATION_STATUS: class=com.github.uiautomatorstub.Stub INSTRUMENTATION_STATUS: current=1 INSTRUMENTATION_STATUS_CODE: 1 Can't open carrierweekinfo-conf.xml

The commandline console stopped at "Can't open carrierweekinfo-conf.xml" ....

xiaocong commented 10 years ago

Do you have android logcat? And which Android device? Thank you.