My problem seems a little different than here. Test run failed: instrumental run failed due to "Process Failure". when testing a few Android actions
I followed the steps given in the PDF . I created the test project "TestAndroidCalculatorBlackbox" (do we need two projects, one test and one main project, maybe this may be the reason, because in the Robotium link "Getting Started" they want us to create projects for Notepad),
and added jars robotium-solo-5.0.1.jar, robotium-solo-1.6.0.jarto get rid of the red lines of errors below the solo.function and jay.way package.
I am attaching a screenshot with the error:
y AndroidManifest.xml:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.testcalculator"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="8" />
<instrumentation
android:name="android.test.InstrumentationTestRunner"
android:targetPackage="com.testcalculator" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" android:debuggable="true">
<uses-library android:name="android.test.runner" />
</application>
</manifest>
and I added the package to the list of tools:
c:\> adb shell pm list instrumentation
instrumentation:PACKAGE.test.test/android.test.InstrumentationTestRunner (target=PACKAGE)
instrumentation:PACKAGE.test.test.test.test.test.test/android.test.InstrumentationTestRunner (target=PACKAGE.test.test)
instrumentation:com.example.android.apis/.app.LocalSampleInstrumentation (target=com.example.android.apis)
>> instrumentation:com.testcalculator/android.test.InstrumentationTestRunner (target=com.testcalculator) <<