My Gradle sync fails with the following error message in the log:
Gradle sync failed: com.android.builder.model.AndroidProject.getProjectType()I
and this error pop up (The yellowish box that pops up at top of the gradle file in android studio):
Gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly.
What does this mean, and any suggestions on how to fix this?