Android gradle build error - missing symbols

Error Type:

CommandInvokationFailure - Gradle build failed

.

Unity Console Error:

.

Tried solutions:

  • Using external dependency manager → Android Resolve → Force Resolve
  • Assets → Reimport all
  • Help → Reset packages to default, then reinstalling them one by one
  • Reinstalling Unity version 2020.1.14f1
  • Reverting back to a previous Unity version (2019.4.15f1)
  • Installing a custom Gradle (that didn’t work so I reverted back to the default)

problem fixed here : Unity 2020 Android Support: Setup, SDK & NDK & JDK & Gradle - YouTube