Monday, July 18, 2011

Unable to find instrumentation target package ? duh!

Today I was trying to write some test cases after i got inspired by this link

Problem was I was keep getting "Unable to find instrumentation target package" Error and not sure how to fix it. Well there are few ways to fix this problem. Easy way out is:

1.Double click on the AndroidManifest.xml

Delete any "instrumentation" tags

2.Goto Instrumentation Tab
3.Click Add
4.Select Instrumentation
5. Select the name and target package.

This should work. Trying to add the Instrumentation manually is a nightmare.

Hope this will help to someone else

1 comment: