Entire gradle project corrupted in Android Studio, caches incorrect, sync failed

Keywords´╝Ü android gradle


it seems my computer going onto sleep mode and shutting down with the sync still on has corrupted a project, but luckily it only affected gradle, and not my src files.

I've noticed my project would fail syncing, and a few days ago into my project I was unable to press the "run" button again (the yellow lightning button), but had to manually build again, indicating the sync was failing.

I've tried to clean up my gradle files, including invalidating caches and restarting, but I think this messed up my cache files.

Here's what my files look like in the IDE:


<component name=


<?xml version="1.0" encoding="utf-8"?>
 Copyright (C) 2014 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at


     Unless required by applicable law or agreed to in writing, software
     distributed under the License is

I can't show you my build.gradle, because I've copied the one on my system and overwritten the corrupted version.

All the files in my gradle package are corrupted on the IDE, but the files on my gradle folder in my system are their uncorrupted version.

Is there a way to solve this without creating a new project and C+Ping my src folder + putting new dependencies?