Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

troubles running the emulator of the crystal ball

I have been trying to get the emulator to work i am currently running windows 8 if that matters and i keep getting the following message: [2014-03-10 20:28:19 - CrystalBall] CrystalBall does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner in its AndroidManifest.xml I tried to mess around with stuff and didnt work what should i do?

3 Answers

Have you tried setting up run configurations for your app? You might not be specifying an emulator for it to run on?

Orrr try adding

<instrumentation android:name="android.test.InstrumentationTestRunner" android:targetPackage="your.package" android:label="your tests label" />

and

<uses-library android:name="android.test.runner" />

in your Android Manifest file.

sorry code did not post

<instrumentation android:name="android.test.InstrumentationTestRunner"
    android:targetPackage="your.package"
    android:label="your tests label" />

<uses-library android:name="android.test.runner" />