Gradle project sync failed. Basic functionality ... will not work properly

I've been getting this error in one of my projects in Android Studio for a couple of days now and have't been able to figure out what the problem is. When I sync the Gradle project it always says: Gradle project sync failed. Basic functionality ... will not work properly.

The project assembles, builds and tests properly from the command line. Here are the errors that I think are releated to the issue from the idea.log file. Any idea what could be wrong here? This project is a set of common classes and utitlities that will be used in several of our gradle build scripts.

Thansk, Derek

2015-09-16 07:47:47,502 [  80357]   INFO - e.LibraryDependencyDataService - Configuring library dependency 'Gradle: joda-time-2.8.2' of module 'gradle-common' to be exported and have scope Compile
2015-09-16 07:47:47,502 [  80357]   INFO - e.LibraryDependencyDataService - Adding library dependency 'Gradle: gradle-tooling-api-builders-2.7' to module 'gradle-common'
2015-09-16 07:47:47,502 [  80357]   INFO - e.LibraryDependencyDataService - Configuring library dependency 'Gradle: gradle-tooling-api-builders-2.7' of module 'gradle-common' to be exported and have scope Compile
2015-09-16 07:47:47,536 [  80391]   INFO - ty.VersionCompatibilityService - Failed to read version for component 'android-gradle-plugin' for project 'gradle-common'
2015-09-16 07:47:47,550 [  80405]   INFO - ls.idea.gradle.GradleSyncState - Sync with Gradle successful for project 'gradle-common'.
2015-09-16 07:47:47,554 [  80409]   WARN - .project.GradleProjectSyncData - Trying to create project data from a not initialized project 'gradle-common'. Abort.
2015-09-16 07:47:47,554 [  80409]   INFO - .project.GradleProjectSyncData - Failed to generate new cache. Deleting the old one.
2015-09-16 07:47:48,234 [  81089]   INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 350 ms
2015-09-16 07:47:48,236 [  81091]   INFO -       #com.jetbrains.cidr.lang - Clearing symbols finished in 0 s.
2015-09-16 07:47:48,237 [  81092]   INFO -       #com.jetbrains.cidr.lang - Loading symbols finished in 0 s.
2015-09-16 07:47:48,237 [  81092]   INFO -       #com.jetbrains.cidr.lang - Building symbols finished in 0 s.
2015-09-16 07:47:48,237 [  81092]   INFO -       #com.jetbrains.cidr.lang - Saving symbols finished in 0 s.
2015-09-16 07:48:02,633 [  95488]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 70193 ms
2015-09-16 07:48:02,635 [  95490]   INFO -       #com.jetbrains.cidr.lang - Clearing symbols finished in 0 s.
2015-09-16 07:48:02,635 [  95490]   INFO -       #com.jetbrains.cidr.lang - Loading symbols finished in 0 s.
2015-09-16 07:48:02,638 [  95493]   INFO -       #com.jetbrains.cidr.lang - Building symbols finished in 0 s.
2015-09-16 07:48:02,638 [  95493]   INFO -       #com.jetbrains.cidr.lang - Saving symbols finished in 0 s.
2

1 comment
Comment actions Permalink

It would help if you submit a bug at http://youtrack.jetbrains.com/issues/IDEA with the complete idea.log and a sample project to reproduce the problem. Thank you.

0

Please sign in to leave a comment.