robertlevonyan/camerax-demo

This example won't run - you have an old gradle .... ..... .....

kaizer1 opened this issue · 8 comments

This example won't run - you have an old gradle .... ..... .....

Before posting examples, at least check whether they work or not ...

Снимок экрана 2021-10-28 173443

What exactly is old in gradle?

I am also experiencing this issue.
This is the error:

An exception occurred applying plugin request [id: 'com.android.application']
> Failed to apply plugin [id 'com.android.internal.version-check']
   > Minimum supported Gradle version is 7.0.2. Current version is 6.1.1. 

You need to upgrade your gradle plugin version in gradle-wrapper.properties file

Thank you, but the gradle-wrapper.properties file doesn't exist in your project. It would be much better for everyone if you can simply update this GitHub project :) Appreciate it!

It shouldn't be in any project. It is added automatically when you open the project. So it is there ))

Thanks for the reply but I don't have a gradle-wrapper.properties file anywhere

I do not have this issue with other projects on GitHub, thank you for your time.

after you clone the project, please import it in Android studio instead of opening