Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.1.6. #68

Open
akhilsanker opened this issue Nov 15, 2021 · 7 comments

Comments

@akhilsanker
Copy link

akhilsanker commented Nov 15, 2021

Hi,

I am following error while running it on Android:

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.1.6.
Required by:
project :app > project :react-native-adyen-payment > com.adyen.checkout:drop-in:3.6.4 > com.adyen.checkout:wechatpay-base:3.6.4
Could not find io.michaelrocks:paranoid-core:0.2.4.
Required by:
project :app > project :react-native-adyen-payment > com.adyen.checkout:drop-in:3.6.4 > com.adyen.checkout:3ds2:3.6.4 > com.adyen.threeds:adyen-3ds2:2.1.0-rc07

My environment details is as follows:

"react-native-adyen-payment": "^1.8.3",
"react": "17.0.2",
"react-native": "0.66.2",
Android Studio: 2020.3 AI-203.7717.56.2031.7784292,
AVD: Android 12

Thanks.

@disko998
Copy link

@akhilsanker Same here any solution so far?

@phil-lui
Copy link

phil-lui commented Jan 3, 2022

This may due to jcenter deprecation issue

Maven repository com.tencent.mm.opensdk:wechat-sdk-android-without-mta

I found that 5.1.6 exists in jcenter only. It seems cannot get the package from jcenter.

the wechat dependency is from Adyen. I checked the dependency of this repo and found the adyen dependency is 3.6.4, and the latest version is 4.4.0 already.

I think the dependency need to be upgraded to solve this issue. Even 3.8.3 still using wechat sdk 5.1.6.

Also this issue need to be reopened?

@phil-lui
Copy link

phil-lui commented Jan 3, 2022

Workaround: download jar from jcenter directly instead of using gradle to pull package from jcenter

Maven repository com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.1.6 @ jcenter

@Gp2mv3
Copy link
Collaborator

Gp2mv3 commented Jan 17, 2022

I can confirm that we have to upgrade the dependency com.adyen.checkout:drop-in unfortunately, we have to upgrade it to 4.X.X which breaks the whole code of this package.

Jcenter is already deprecated for a long time and is currently having issues so it's important to be ready for its complete shutdown by upgrading the package.

@Gp2mv3
Copy link
Collaborator

Gp2mv3 commented Jan 21, 2022

The issue comes from jcenter being down. The solution is currently (as the package still needs the wechat SDK and the paranoid-core which comes from center) to download those in jar and put them in your android/app/libs folder.

An update of the Adyen SDK is needed if we want to remove those jar includes.

@akhilsanker
Copy link
Author

Hi @Gp2mv3 ,

Thanks for the response. But I am unable to download the jar from this:

Workaround: download jar from jcenter directly instead of using gradle to pull package

Maven repository com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.1.6 @ jcenter

Is there something that I am missing?

Also currently in my project, there is no lib folder in android/app/, so the workaround will be like I need to download the jar file and create a new folder android/app/libs and paste the downloaded file in that folder.
Please correct me if I am wrong.

Thanks.

@kkkasio
Copy link

kkkasio commented Jul 18, 2024

I have the same problem, project use com.adyen.checkout:drop-in:3.6.4 and the gradlew doesn't resolve artifact com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.1.6

JCENTER server returns 403 forbidden, when i try to download directly.
Someone have an any solution for this dependency?
At the moment I can't update the checkout drop-in SDK, I need to use this version =[. (3.6.4)

`FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':app:lintVitalReleaseStaging'.

Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'.
Could not find com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.1.6.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/tencent/mm/opensdk/wechat-sdk-android-without-mta/5.1.6/wechat-sdk-android-without-mta-5.1.6.pom
- https://www.jitpack.io/com/tencent/mm/opensdk/wechat-sdk-android-without-mta/5.1.6/wechat-sdk-android-without-mta-5.1.6.pom
- https://maven.google.com/com/tencent/mm/opensdk/wechat-sdk-android-without-mta/5.1.6/wechat-sdk-android-without-mta-5.1.6.pom
- https://plugins.gradle.org/m2/com/tencent/mm/opensdk/wechat-sdk-android-without-mta/5.1.6/wechat-sdk-android-without-mta-5.1.6.pom
- file:/Users/kasio/.m2/repository/com/tencent/mm/opensdk/wechat-sdk-android-without-mta/5.1.6/wechat-sdk-android-without-mta-5.1.6.pom
- https://repo.maven.apache.org/maven2/com/tencent/mm/opensdk/wechat-sdk-android-without-mta/5.1.6/wechat-sdk-android-without-mta-5.1.6.pom
- file:/Users/kasio/Desktop/MY-PROJECT/node_modules/react-native/android/com/tencent/mm/opensdk/wechat-sdk-android-without-mta/5.1.6/wechat-sdk-android-without-mta-5.1.6.pom
- file:/Users/kasio/Desktop/MY-PROJECT/node_modules/jsc-android/dist/com/tencent/mm/opensdk/wechat-sdk-android-without-mta/5.1.6/wechat-sdk-android-without-mta-5.1.6.pom
- https://maven.fabric.io/public/com/tencent/mm/opensdk/wechat-sdk-android-without-mta/5.1.6/wechat-sdk-android-without-mta-5.1.6.pom
- https://sdk.smartlook.com/android/release/com/tencent/mm/opensdk/wechat-sdk-android-without-mta/5.1.6/wechat-sdk-android-without-mta-5.1.6.pom
- https://android.allowmecloud.com/sdk/com/tencent/mm/opensdk/wechat-sdk-android-without-mta/5.1.6/wechat-sdk-android-without-mta-5.1.6.pom
Required by:
project :app > com.adyen.checkout:drop-in:3.6.4 > com.adyen.checkout:wechatpay-base:3.6.4
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants