简体   繁体   中英

android studio gradle sync error

After trying a preview version that gave me odd errors, i just did a fresh install of Android Studio 1.1.0 on Ubuntu Linux. I also removed the preferences directory to start from scratch.

Now even with new projects gradle sync fails with this error and i cannot find the cause or other informations that can give me hints about the cause:

Error:Cause: org.jetbrains.plugins.gradle.tooling.ModelBuilderService: Provider org.jetbrains.plugins.gradle.tooling.builder.ExternalProjectBuilderImpl not found

Does anybody knows how to fix this?

Solved by deleting the $HOME/.gradle folder.

I guess executing the preview version messed up something there.

I had to delete the .AndroidStudioPreview, .gradle/ and the .android. Basically it's like to uninstall android studio, but it worked for me.

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