Closed attractfront closed 1 year ago
`FAILURE: Build failed with an exception.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not resolve net.minidev:json-smart:[1.3.1,2.3]. Required by: project :app > project :square_in_app_payments > com.squareup.sdk.in-app-payments:buyer-verification:1.5.6 > com.squareup.sdk.in-app-payments:buyer-verification-internals:1.5.6 > com.nds.threeds:widget:1.3.9 > com.nds.threeds:core:1.3.9 > com.nds.threeds:threedssdk-release:1.10.7 Failed to list versions for net.minidev:json-smart. Unable to load Maven meta-data from https://jcenter.bintray.com/net/minidev/json-smart/maven-metadata.xml. Could not HEAD 'https://jcenter.bintray.com/net/minidev/json-smart/maven-metadata.xml'. Read timed out`
Hello @attractfront @AbdrahumanFikry ,
please replace your gradle.properties with below code,
org.gradle.jvmargs=-Xmx1536M android.useAndroidX=true android.enableJetifier=true android.proguard.enableRulesExtraction=true
and change compileSDK and targetSDK version to 32 in app build.gradle.
and let me know if you are still facing same.
Closing this issue but if you still find this problem please reopen this issue. Thank you.
This error wasn't few days ago but became today Execution failed for task ':app:checkDebugAarMetadata'.
I think it is connected with jcenter() in build.gradle
Could you please check it?