eas build android error when add some libs

Hey guys,

I’ve tried a lot of solutions for this error, can you give some guidance?
When I’m building the app (only on android) I have two errors on the gradle:

I’m currently using the Managed Workflow.

The solution I’ve tried the last was adding this config on app.json:

"plugins": [
          "expo-build-properties",
          {
            "android": {
              "compileSdkVersion": 31,
              "targetSdkVersion": 31,
              "buildToolsVersion": "31.0.0",
              "kotlinVersion": "1.6.10"
            },
            "ios": {
              "deploymentTarget": "13.0"
            }
          }
    ]