"react": "18.1.0",
"react-native": "0.70.5",
"react-native-android-speech-recognizer": "^0.0.3",
At first I got an error:
Could not find method compile() for arguments [com.facebook.react:react-native:0.20.+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Replaced compile with implementation.
Then the error:
RNAndroidSpeechRecognizerPackage.java @OverRide
Help restore the project to a fresh react-native!