I am trying to build android application. Use this .apk to consume for Azure CI-CD for distribution & mobile automation. While executing command ./gradlew clean or ./gradlew assembleRelease facing below error :
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
Please let me know if anyone face/fix this issue.