FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'oscar'.
> Could not open proj class cache for build file '/Users/prakashv/dev/workspace/oscar-api/build.gradle' (/Users/prakashv/.gradle/caches/2.6/scripts/build_7o20dvaacd2xu3ci3o56uhd4f/proj).
> Timeout waiting to lock proj class cache for build file '/Users/prakashv/dev/workspace/oscar-api/build.gradle' (/Users/prakashv/.gradle/caches/2.6/scripts/build_7o20dvaacd2xu3ci3o56uhd4f/proj). It is currently in use by another Gradle instance.
Owner PID: unknown
Our PID: 47991
Owner Operation: unknown
Our operation: Initialize cache
Lock file: /Users/prakashv/.gradle/caches/2.6/scripts/build_7o20dvaacd2xu3ci3o56uhd4f/proj/cache.properties.lock
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Qualche idea di quale potrebbe essere il problema? Sto usando Gradle 2.6 e Java 1.8.0_60Gradle Build Failure Impossibile aprire la cache di classe proj per il file di costruzione
ho dovuto fare questo http://stackoverflow.com/questions/21523508/it-is-currently-in-use-by-another-gradle-instance per risolvere il problema. Non avevo idea del perché fosse successo. – premprakash
Hai controllato se il PID 47991 è in esecuzione? – Ethan
Ho avuto lo stesso problema dell'OP dopo aver eseguito un ** Ripristino configurazione di sistema ** (Windows 7). Ho notato che il ripristino del sistema ha ripristinato alcuni file javascript su cui stavo lavorando, quindi ho il sospetto che abbia ripristinato alcuni file anche nel mio progetto Android. –