1. build.gradle
dependencies {
// For < 0.71, this will be from the local maven repo
// For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native"
implementation group: 'com.tencent.mm.opensdk', name: 'wechat-sdk-android', version: '6.8.20'
}
改为
dependencies {
// For < 0.71, this will be from the local maven repo
// For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+"
api 'com.tencent.mm.opensdk:wechat-sdk-android:+'
}