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

Java

Lee Reynolds Jr.
Lee Reynolds Jr.
5,160 Points

Android Studio help please

I had to refresh my laptop and now I'm getting errors all over Android Studio. Can anyone help me?

Lee Reynolds Jr.
Lee Reynolds Jr.
5,160 Points

I'm trying to post a picture but I cannot do it for some reason :(

Ken Alger
Ken Alger
Treehouse Teacher

Lee;

What sort of errors?

Ken

Lee Reynolds Jr.
Lee Reynolds Jr.
5,160 Points

I don't know how to upload a screenshot from my laptop on what the problem is. I know I'm being difficult but I assure you that it is not intentional.

This question is 2 months old, but I'll add how I fixed mine in similar situation for other students:

Issue: I worked on a laptop and uploaded the files to Github. There were no issues with the code. Then when I pulled my codes from another laptop, I saw bunch of syntax related errors.

Fix: Searched StackOverFlow and found out all you need to do was:

  1. Select and run File > Invalidate Caches / Restart, and if this doesn't resolve this issue then,
  2. Select and run Sync Project with Gradle Files on the Toorbar.

Usually doing a 2nd step fixed most of the bizarre syntax errors after pulling the code. Hope this helps.