Issue
After I upgraded the Android Studio to Dolphin my project, which worked perfectly fine in Chipmunk, stopped working by giving me this weird error from Gradle
:
There is no explanation of what is wrong except this weird error null
.
I tried lots of stuff like:
- Invalidating caches and restart
- Deleting .gradle files
- Upgrading the Gradle and Gradle Plugin. Right now versions are, for Gradle Plugin:
7.3.0
and for Gradle7.4
- Updated google services to the latest version
4.3.14
But none of this helped and I don’t know what is wrong so any help is more than welcome. Thanks in advance.
Solution
It seems this is an Android Studio bug and is still active on the Google Issuetracker.
Apparently two people have found a workaround by:
- Deleting the
.idea
folder and restarting Android Studio - Deleting the
.idea
,.gradle
,build
folders and restarting Android Studio
Hope this helps!
Answered By – ndriqa
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0