This is really bugging me, I\'ve installed and reinstalled JDK, ADK, Android Studio, and Gradle several times and in various different orders, but I can\'t get this error to
I have encountered the same problem and read the gradle's full stack trace , and found that a jar is missing. The other missing jars, if any will be listed in the full stack trace.
the jar in question is commons-lang3.jar which is needed by gradle. I installed the jar in the below step
sudo apt-get install libcommons-lang3-java
then i ran gradle again and it worked fine.