I never did that by the way)
Really appreciate your help
I’ll try it tomorrow
I encountered such an error, tried to specify the version of gradle 4.2.2. However, it didn’t help me. Maybe you know what needs to be done to fix this problem?
Min. SDK = 21
Target SDK = 31
SDK api - latest
NDK api - android-21
jre - Android studio (4.0.0)
ndk - 21.4.7075529
sdk
I wrote a solution to the problem here → UE4 github VS2022 com.google.android.gms.plus ANDROID
JFrog, the maintainers of JCenter, announced that they are sunsetting JCenter. This means the following for Android developers for their app’s dependencies:
March 31st 2021 - Libraries in JCenter will no longer be updated.
February 1, 2022 - JCenter will be completely shut down.
Add Maven Central to your project:
Open your root build.gradle
Find lines that say jcenter() and replace them with mavenCentral() (Make sure to add mavenCenteral() in both spots where jcenter() is found.)
.
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral() // New line
// jcenter()
// NOTE: Keep any other entries you may have had here
}
dependencies {
classpath “com.android.tools.build:gradle:4.1.2”
//… no changes here
}
}
allprojects {
repositories {
google()
mavenCentral() // New line
// jcenter()
// NOTE: Keep any other entries you may have had here
}
}
So adjust the jcenter lines or remove the plugin that uses jcenter.
you need sdk29/ndk21, jre8, jdk8, A studio4.