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

I don't know what to do anymore

I am on the crystal ball project, and originally I could not get the emulator to run it kept saying error. I spent an entire day on this and I could not find it. So I decided to change the emulator to geny motion, but I figure I messed something up along the way. I then deleted the crystal ball project, and created a new one figuring it was a bug. Now I typed the same code as before and I'm seeing the same errors. I don't know if the problem is eclipse, and I just made it to the animation part of the crystal ball project too. I have typed the code as given from the video multiple times and I'm seeing the same errors. I just want to get this problem resolved in the quickest way possible, so I can continue to learn android.

4 Answers

I can't help you but I can empathize. I broke eclipse and spent pretty much two full days trying to fix it before finally updating my os and downloading the new version. Let us know more specifically what the problem is and we'll help you try to figure it out.

OK so after I deleted the crystal ball project thinking it was a bug, I restarted eclipse. I created the crystal ball project again, and I saw these errors even though it was a new project. The errors are what follows, 1. errors in the src and the package com.example.crystalball in both the crystal ball java and MainActivity.java. In each, it keeps underlining the lines and says the method is undefined. 2. more errors follow in res in the values area and says no given resource found in the given name.

If you dont tell us exactly what errors you are getting, what your current code looks like, and what particularly you are trying to accomplish, we cant really help you.

OK so after I deleted the crystal ball project thinking it was a bug, I restarted eclipse. I created the crystal ball project again, and I saw these errors even though it was a new project. The errors are what follows, 1. errors in the src and the package com.example.crystalball in both the crystal ball java and MainActivity.java. In each, it keeps underlining the lines and says the method is undefined. 2. more errors follow in res in the values area and says no given resource found in the given name.

OK so after I deleted the crystal ball project thinking it was a bug, I restarted eclipse. I created the crystal ball project again, and I saw these errors even though it was a new project. The errors are what follows, 1. errors in the src and the package com.example.crystalball in both the crystal ball java and MainActivity.java. In each, it keeps underlining the lines and says the method is undefined. 2. more errors follow in res in the values area and says no given resource found in the given name.

Did you make sure to reimport and add the 'appcompat' file that comes with the crystal ball project? If not go to project/properties/android and if you see the 'appcompat' in the library, click it and click add, then okay.

oh I see, I deleted that cause I thought it was interfering with the emulator.