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 trialSonya Cook
1,307 PointsGradle Error
I am getting an error listed in Gradle Sync Issue " The project encoding (windows-1252) does not match the encoding specified in the Gradle build files (UTF-8). This can lead to serious bugs."
What do I do? I did download the Android Studio 1.2.2 directly from the website. Could that be the issue?
1 Answer
faraz
Courses Plus Student 21,474 PointsHey Sonya!
I got the same issue. Your android studio version is fine. This isn't an error you need to worry about, but if you want it to go away you need to follow these steps: For all new projects: File -> Other Settings -> Editor -> File Encodings and then you can change both your IDE Encoding and Project Encoding to UTF-8. This option should set all your projects to use UTF-8. For current project: File -> Settings -> Editor -> File Encodings lets you change the setting to UTF-8 for your current project.
Hope this helps! :)