Gradle project sync failed on Android Studio. I tried to import other Gradle distributions on Android Studio via File > Settings > Build, Execution, Deployement > Gradle > Use local gradle distribution
But still the same error message : Gradle project sync failed
Any solution ? (please refer to the attached picture)

You are using a discontinued and deprecated library, where the repository URL even can't find anything related to
cam2, which is shown in your "Error message 2".As of the
READMEsaid in that repo,You are told what to do after that, what you need to do is follow that.