English 中文(简体)
履带式仪器的本土驾驶员错误
原标题:Android native driver api error while running instruments command

我正在使用甲状腺驾驶机测试甲状腺应用。

我遵循以下准则:http://code.google.com/p/nativedriver/wiki/AndroidMake AnAppable”rel=“nofollow” AndroidMakeAnAppable

但是,当我试图指挥仪器时,它并没有显示指挥线上的任何错误,而是显示是lip。

错误是:

04-17 11:13:14.460: D/AndroidRuntime(302): Shutting down VM
04-17 11:13:14.470: W/dalvikvm(302): threadid=3: thread exiting with uncaught exception (group=0x4001b188)
04-17 11:13:14.470: E/AndroidRuntime(302): Uncaught handler: thread main exiting due to uncaught exception
04-17 11:13:14.480: E/AndroidRuntime(302): java.lang.RuntimeException: Unable to instantiate instrumentation ComponentInfo{com.google.android.testing.nativedriver.simplelayouts/com.google.android.testing.nativedriver.server.ServerInstrumentation}: java.lang.ClassNotFoundException: com.google.android.testing.nativedriver.server.ServerInstrumentation in loader dalvik.system.PathClassLoader@44dac250
04-17 11:13:14.480: E/AndroidRuntime(302):  at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3966)
04-17 11:13:14.480: E/AndroidRuntime(302):  at android.app.ActivityThread.access$2900(ActivityThread.java:119)
04-17 11:13:14.480: E/AndroidRuntime(302):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1901)
04-17 11:13:14.480: E/AndroidRuntime(302):  at android.os.Handler.dispatchMessage(Handler.java:99)
04-17 11:13:14.480: E/AndroidRuntime(302):  at android.os.Looper.loop(Looper.java:123)
04-17 11:13:14.480: E/AndroidRuntime(302):  at android.app.ActivityThread.main(ActivityThread.java:4363)
04-17 11:13:14.480: E/AndroidRuntime(302):  at java.lang.reflect.Method.invokeNative(Native Method)
04-17 11:13:14.480: E/AndroidRuntime(302):  at java.lang.reflect.Method.invoke(Method.java:521)
04-17 11:13:14.480: E/AndroidRuntime(302):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
04-17 11:13:14.480: E/AndroidRuntime(302):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
04-17 11:13:14.480: E/AndroidRuntime(302):  at dalvik.system.NativeStart.main(Native Method)
04-17 11:13:14.480: E/AndroidRuntime(302): Caused by: java.lang.ClassNotFoundException: com.google.android.testing.nativedriver.server.ServerInstrumentation in loader dalvik.system.PathClassLoader@44dac250
04-17 11:13:14.480: E/AndroidRuntime(302):  at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
04-17 11:13:14.480: E/AndroidRuntime(302):  at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
04-17 11:13:14.480: E/AndroidRuntime(302):  at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
04-17 11:13:14.480: E/AndroidRuntime(302):  at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3963)
04-17 11:13:14.480: E/AndroidRuntime(302):  ... 10 more
04-17 11:13:14.520: I/dalvikvm(302): threadid=7: reacting to signal 3
问题回答

你们是否通过Eclipse发射? 正确点击你的和roid项目节点,走路,去秩序和出口,确保服务器独立。 添加并检查。





相关问题
Selenium not working with Firefox 3.x on linux

I am using selenium-server , selenium rc for UI testing in my application . My dev box is Windows with FireFox 3.5 and every thing is running fine and cool. But when i try to run selenium tests on my ...

Best browser for testing under Safari Mobile on Linux?

I have an iPhone web app I m producing on a Linux machine. What s the best browser I can use to most closely mimic the feature-limited version of Safari present on the iPhone? (It s a "slimmed down" ...

Code Coverage Tools & Visual Studio 2008 Pro

Just wondering what people are using for code coverage tools when using MS Visual Studio 2008 Pro. We are using the built-in MS test project and unit testing tool (the one that come pre-installed ...

Is there any error checking web app cralwers out there?

Wondering if there was some sort of crawler we could use to test and re-test everything when changes are made to the web app so we know some new change didn t error out any existing pages. Or maybe a ...

热门标签