How to fix "build.gradle" problem in a Cordova project?
I changed
classpath 'com.android.tools.build:gradle:3.3.0'
to
classpath 'com.android.tools.build:gradle:3.0.1'
in /platforms/android/build.gradle file. My problem is solved.
build.gradle file in replace :
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
}
after run : ionic cordova build android --prod --release