I just import an existing android project and wanted to run a gradle task from terminal.
But however I'm always getting following exception for this project:
java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
I saw already several answers to the same problem, but they don't really help me.
Just to be sure my Android Studio is working right, I tried to open another project. There everything worked fine. And on the first look all settings of the project are the same.
I didn't installed gradle on my mac but using default gradle wrapper of the android studio instead.
Maybe any of you have a solution?
gradle--stacktrace
– Gaff