I don\'t understand why this is happening.
Gradle sync failed: Timeout waiting to lock buildscript class cache for build file \'/Users/user/Documents/androi
The easiest way to solve this is to be delete a cache.
For Windows it's under C:\Users\Administrator\.gradle\caches
C:\Users\Administrator\.gradle\caches
For Mac OSX it's ~/.gradle/caches
~/.gradle/caches
Try to execute the following command:
find ~/.gradle -type f -name "*.lock" | while read f; do rm $f; done