I have got above error after generating build in ionic3 I have tried a lot of solution but not working tell me, anyone, how to fix above error? below I have to include //Project-properties file. I have tried below solution but did not work for me :
This solution worked for me
1- In the CordovaLib folder and in the build.gradle file, change the position of the Maven up
Repositories {
maven {
url "https://maven.google.com"
}
jcenter()
}
2- In the general build.gradle file of the project change the position of Maven up and add google()
Repositories {
maven {
url "https://maven.google.com"
}
google()
jcenter()
}
3- In the build.gradle file of the APP folder change the position of Maven up and add google()
buildscript {
repositories {
maven {
url "https://maven.google.com"
}
google()
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
}
}
// Allow plugins to declare Maven dependencies via build-extras.gradle.
allprojects {
repositories {
google()
mavenCentral();
jcenter()
}
}
4 - Finally, run the "Make Project" that is in the upper corner of Android Studio.