Android Build a Simple Android App with Java Testing and Debugging Writing to the Log

David Rincon-Cruz
David Rincon-Cruz
4,151 Points

Broken Question - Compiler Error

I keep getting this unrelated compiler error regardless of my code.

JavaTester.java:64: error: illegal start of expression package com.teamtreehouse; ^ JavaTester.java:64: error: not a statement package com.teamtreehouse; ^ JavaTester.java:65: error: illegal start of expression import android.util.Log; ^ JavaTester.java:65: error: not a statement import android.util.Log; ^ JavaTester.java:67: error: illegal start of expression public class TreehouseActivity extends Activity { ^ 5 errors

2 Answers

Jennifer Nordell
STAFF
Jennifer Nordell
Treehouse Staff

Hi there! There currently seems to be a problem with Java challenges across the board. Another moderator and I have reported it to Treehouse staff. I hope they get it fixed soon! :sparkles:

Benjamin Gooch
Benjamin Gooch
16,378 Points

Any progress to this? I finally got some time to sit down and learn and I'm stuck because of this. It's failing the pre-existing code on a challenge with "Illegal start of expression".

Hi Benjamin, I posted my own question about that. If you want to follow: https://teamtreehouse.com/community/javatesterjava65-error-illegal-start-of-expression You can just skip the exercises and do them later (just click on the white circle representing the next lesson, located above the exercise window) . It won't give you a badge when you complete a course, but at least you can progress... I'm doing this and plan on coming back and doing the exercises later to get the badge and finish the course.