For a unknown reason Android Studio Fail to build my Project . First time it show me
Error:Could not resolve all dependencies for configuration ':app:debugCompileClasspath'.
Could not load module metadata from C:\Users\nirzo\.gradle\caches\modules-2\metadata-2.36\descriptors\com.michaelpardo\activeandroid\3.1.0-SNAPSHOT\c5bb972da5c05fbf59bb87e44d69a746\descriptor.bin
Unexpected metadata type found.
When I clean the Project for second time it show me the below error again . I also try Invalidated Caches
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not resolve com.michaelpardo:activeandroid:3.1.0-SNAPSHOT.
Required by:
project :app
> Could not resolve com.michaelpardo:activeandroid:3.1.0-SNAPSHOT.
> Could not load module metadata from C:\Users\nirzo\.gradle\caches\modules-2\metadata-2.36\descriptors\com.michaelpardo\activeandroid\3.1.0-SNAPSHOT\c5bb972da5c05fbf59bb87e44d69a746\descriptor.bin
But the Project is perfectly running on my other PC
I really don't understand the problem and the reason of it .
You don't have to uninstall android studio. the issue ussually happens because you gradles cannot load data in the metadata folder or you have multiple data folder in the gradle file.