Attempting to build an android app with the auth0-react-native toolkit, and I’m receiving this error:
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file '/Users/kghjhjgjhg/repos/PodApp/node_modules/react-native-auth0/android/build.gradle' line: 18
* What went wrong:
A problem occurred evaluating project ':react-native-auth0'.
> Plugin with id 'maven' not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':react-native-auth0'.
> com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
* Get more help at https://help.gradle.org
I’m using React Native "0.65.0"
, Gradle version 6.7.1
, and Android Gradle Plugin Version: 4.2.2.
I moved the project to Gradle version 6.7.1
, and Android Gradle Plugin Version: 4.2.2 after finding this GitHub issue; I took the steps cited in the issue to resolve, but they did not work: Android Build error using RN 0.65.1 with Gradle 7.0.2 · Issue #403 · auth0/react-native-auth0 · GitHub