简体   繁体   中英

Android Studio 3.1 Canary 3 - Gradle project sync failed

Using Android Studio 3.1 Canary 3 for Android application development using Kotlin, whenever the studio is opened, I get the following error

Gradle project sync failed. Basic functionality(eg editing debugging) will not work properly

It is not the issue relevant to the built-in kotlin in Android studio version3.0 and above but the Kotlin plugin's

在此输入图像描述

This is a common issue that occurs when you import all the settings from your old version of Android Studio (where you would have already installed Kotlin in plugins) to Android Studio 3 and 3.1

So, to rectify the issue go to

Preferences -> Plugins -> Search for Kotlin and Uninstall

since we have built-in Kotlin support in the latest Android Studios, we may not need this Kotlin plugin anymore

Hope this helps!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM