If you are using an old gradle and have sourceCompatibility = 10 in build.gradle, gradle eclipse will
Error will occur.
In such a case, let's raise the version of gradle to 4.3 or higher. It is cured by [this correspondence] of gradle 4.3 (https://github.com/gradle/gradle/pull/3099).