I want to compile an open source android project (Netguard) using gradel (gradlew clean build
) But I encountered this Error:
A problem occurred
Facing same issue.
I got success following ways.
Open your buldle.gradle file and upgrade the versions for following both classpath
classpath 'com.android.tools.build:gradle:3.2.1' classpath 'com.google.gms:google-services:4.2.0'
Then Sync and after get one dilaog for update Gradle version as well then click that link and wait for download all required updates(Hope internet available). After taking long time you got Success.