react-native-sms-user-consent
react-native-sms-user-consent copied to clipboard
Plugin with id 'maven' not found
I upgraded all packages plus the sdk/build tools in order to support Android 12, and I now get this:
A problem occurred evaluating project ':eabdullazyanov_react-native-sms-user-consent'.
> Plugin with id 'maven' not found.
Here is the build env:
buildscript {
ext {
buildToolsVersion = "31.0.0"
minSdkVersion = 23
compileSdkVersion = 31
targetSdkVersion = 31
ndkVersion = "21.4.7075529"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath('com.android.tools.build:gradle:7.0.3')
classpath 'com.google.gms:google-services:4.3.10'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
A temporary solution. Open node_modules/@eabdullazyanov/react-native-sms-user-consent/android/build.gradle
and comment all references to maven:
//apply plugin: 'maven'
// // ref: https://www.baeldung.com/maven-local-repository
// mavenLocal()
// maven {
// // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
// url "$rootDir/../node_modules/react-native/android"
// }
// maven {
// // Android JSC is installed from npm
// url "$rootDir/../node_modules/jsc-android/dist"
// }
// repositories.mavenDeployer {
// // Deploy to react-native-event-bridge/maven, ready to publish to npm
// repository url: "file://${projectDir}/../android/maven"
// configureReactNativePom pom
// }
@afilp Can you confirm is this still an issue?
same issue here
same issue still happening :(
Is it the sign to learn Flutter already? :((((