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

Cristian Alexandru Radu
Cristian Alexandru Radu
1,683 Points

Lots of errors while importing to Android Studio

I tried rampant15's method to import the project, and I still get errors

Gradle DSL method not found: 'google()' Possible causes:<ul><li>The project 'android_app' may be using a version of the Android Gradle plug-in that does not contain the method (e.g. 'testCompile' was added in 1.1.0). Upgrade plugin to version 3.2.0 and sync project</li><li>The project 'android_app' may be using a version of Gradle that does not contain the method. Open Gradle wrapper file</li><li>The build file may be missing a Gradle plugin. Apply Gradle plugin</li>

I renamed the whole project from "android-animations-transitions-2a6bd784e23d94dcfd3e90a8fffb8216cc9a2641" to android_app