Android Studio: Re-download dependencies and sync project

While importing a libGDX project I got the same message from Android Studio 2.2.

Went to File->Project Structure then selected Project and set

Gradle version

and

Android Plugin Version

to values identical to another project I had recently created with Android Studio 2.2 and updated SDK. Could then sync gradle. Did Build->Build Clean with no issues. Then did Run->Clean and Rerun and project ran fine.

Hope this helps.

Leave a Comment