Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android

Randall Lakey
Randall Lakey
2,486 Points

Crystal Ball - "Running error on console"

So I have completed everything to the "T" and watched the initial video for the "Crystal Ball" app segment. I have setup and followed the directions for the "AVD- manager" and when I go to "Run" the app I get the following errors from the console:

[2013-12-30 18:46:02 - Crystal Ball] Android Launch! [2013-12-30 18:46:02 - Crystal Ball] adb is running normally.

[2013-12-30 18:46:02 - Crystal Ball] Crystal Ball does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner in its AndroidManifest.xml

After that error shows a pop up window appears and says the following:

"Crystal Ball is not configured correctly for running test. See console for details."

the console shows the info listed above.


I appreciate help with this as I cannot move forward with the program until I have resolved this.

Thank you in advance. Randall

4 Answers

Kate Hrycak
Kate Hrycak
5,542 Points

Hey Randall,

So, I'm not sure exactly what the issue is, but after doing some reading here: http://developer.android.com/tools/devices/emulator.html#troubleshooting

and here: http://stackoverflow.com/questions/1009970/android-eclipse-plugin-instrumentation-test-runner-not-specified

it sounds like in the setup something went a little weird. Since you haven't done too much work (hopefully), I recommend uninstalling everything and reinstalling it, going with the default locations for the workspace. Then, with the videos, make sure you follow the setup very carefully when creating the Android project for the first time. It does matter what type of project you click!

Until someone from Treehouse support can tackle this one with more expertise, hopefully a "fresh start" will do the trick.

Cheers,

Randall Lakey
Randall Lakey
2,486 Points

Hey thanks Kate. So is the "H" silent? :)

I will do what you suggest and see what happens. Thanks again.

Randall

Randall Lakey
Randall Lakey
2,486 Points

Anyone else have any ideas. Thanks

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Sorry for the late reply! It sounds like you're trying to run the app as one of the test projects. Can you try this first: right-click on your project in the package explorer and select Run As > Android Application. Let's see if the same error occurs there and then we'll go from there if it does.