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 Build a Simple Android App (2014) Basic Android Programming Accessing Views in Code

TextView factLabel = (TextView) findViewById(R.id.factTextView); Button showFactButton;

I'm using the latest Android Studio Darcula. The blank app starts with a "toolbar" I erased the code for the toolbar the problem is the autofill feature doesn't seem to work like it used to and I'm left with a sqiggly red line under fact text view. I also get the gradle build errors Error:(23, 57) error: cannot find symbol variable factTextView

also

Error:Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Error during Sync: Local path doesn't exist. 1:03:03 AM Unexpected Error Local path doesn't exist. Local path doesn't exist. The project may need to be synced with Gradle files. Sync Project with Gradle files

what does it mean local path doesn't exist? I put JAVA_HOME as a system variable. Is that the problem. Should I click on Sync Project with Gradle files? I did this excersize a couple months ago and didnot run in to this issue however this is probably a newer edition and I didn't choose Darcula before.

Jordan Ernst
Jordan Ernst
5,121 Points

have you synced your project?