Home > Mobile >  Android Studio Gradle Sync Failed After Upgrading to Chipmunk 2021.2.1
Android Studio Gradle Sync Failed After Upgrading to Chipmunk 2021.2.1

Time:05-18

so I upgraded my Android Studio to Chipmunk 2021.2.1 and everything was going fine, but when I try to run my app on my Pixel 5 emulator, the gradle doesn't build. It's having 18 errors under the writeDebugSigningConfigVersions and I need help trying to solve the issues. I tried switching the gradle offline mode to see if that would let the app run, but the errors didn't go away. What should I do to fix these issues? Is it to do with the actual gradle, or is it a setting I need to change? Thank you.

My Gradle Errors

enter image description here

CodePudding user response:

Without an actual stack-trace, this question only permits an educated guess.
I'd suggest to upgrade the Gradle wrapper to a compatible version; eg. 7.4.2.
Each version of AGP has specific requirements for the Gradle version to use.

CodePudding user response:

Okay I figured out what the problem was. I implemented a dependency in my build.gradle app file that was making those errors. The answer is that I need to find a specific version of the dependency.

  • Related