I have a question to give permission to test in an android application.
I created a test case but when running the following appears on the console:
does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner in its AndroidManifest.xml
I went to the application's AndroidManifest.xml
file and entered the code:
<instrumentation android:name="android.test.InstrumentationTestRunner"
android:targetPackage="com.voxar.cameraapp"
android:label="your tests label" />
and I put:
<uses-library android:name="android.test.runner" />
As suggested in the stackoverflow.com
How do I fix the errors so I can start testing?