minCompileSdk from aar-metadata.properties gets overwritten everytime I try to compile

Viewed 7

I opened my project after 2 months and I get the error of:

The minCompileSdk (33) specified in a dependency’s AAR metadata is greater than this module’s compileSdkVersion

My compile/target sdk are 31 and the aar-metadata.properties is 33 so I edit it to be 31. However after changing it and running the app I get the same error and the aar-metadata.properties gets overwritten with the same minCompileSdk=33

How do I fix this?

0 Answers
Related