Robotium自动化运行时报错Test run failed: Instrumentation run failed due to 'Process cras
刚开始结束Robotium自动化,运行脚本是报错,请各位帮忙指点下,实在不知道是什么原因导致的,谢谢!
错误如下:
[2013-05-09 16:40:30 - whbbs] Android Launch!
[2013-05-09 16:40:30 - whbbs] adb is running normally.
[2013-05-09 16:40:30 - whbbs] Performing android.test.InstrumentationTestRunner JUnit launch
[2013-05-09 16:40:30 - whbbs] Automatic Target Mode: launching new emulator with compatible AVD 'bb'
[2013-05-09 16:40:30 - whbbs] Launching a new emulator with Virtual Device 'bb'
[2013-05-09 16:40:41 - whbbs] New emulator found: emulator-5554
[2013-05-09 16:40:41 - whbbs] Waiting for HOME ('android.process.acore') to be launched...
[2013-05-09 16:41:13 - whbbs] HOME is up on device 'emulator-5554'
[2013-05-09 16:41:13 - whbbs] Uploading whbbs.apk onto device 'emulator-5554'
[2013-05-09 16:41:14 - whbbs] Installing whbbs.apk...
[2013-05-09 16:41:31 - whbbs] Success!
[2013-05-09 16:41:31 - whbbs] Launching instrumentation android.test.InstrumentationTestRunner on emulator-5554
[2013-05-09 16:41:36 - whbbs] Test run failed: Instrumentation run failed due to 'Process crashed.'
我顺便把AndroidManifest.xml文件代码黏贴看看有没有错误的地方
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.house365.whbbs.activity"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="13" />
<instrumentation
android:name="android.test.InstrumentationTestRunner"
android:targetPackage="com.house365.whbbs.activity" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<uses-library android:name="android.test.runner" />
</application>
</manifest>