Build fails with Gradle version not support `maven not found`

Please provide the following:

  1. SDK Version: 6.3.10
  2. Platforms(Android/iOS/web/all): Android
  3. Gradle

Hi Everyone,hope you are doing well,I completed an app, while building I get Gradle Error, could you please check this log once and advice, thank you.

WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL. [stderr] FAILURE: Build completed with 2 failures.
[stderr] 1: Task failed with an exception.
[stderr] -----------
[stderr] * Where:
[stderr] Build file ‘/home/expo/workingdir/build/node_modules/react-native-secure-storage/android/build.gradle’ line: 15
[stderr] * What went wrong: [stderr] A problem occurred evaluating project ‘:react-native-secure-storage’.
[stderr] > Plugin with id ‘maven’ not found.
[stderr] * Try: [stderr] > Run with --stacktrace option to get the stack trace.
[stderr] > Run with --info or --debug option to get more log output.
[stderr] > Run with --scan to get full insights.
[stderr] ============================================================================== [stderr] 2: Task failed with an exception.
[stderr] -----------
[stderr] * What went wrong:
[stderr] A problem occurred configuring project ‘:react-native-secure-storage’.
[stderr] > compileSdkVersion is not specified. Please add it to build.gradle [stderr] * Try:
[stderr] > Run with --stacktrace option to get the stack trace.
[stderr] > Run with --info or --debug option to get more log output.
[stderr] > Run with --scan to get full insights.
[stderr] ============================================================================== [stderr] * Get more help at [https:// help.gradle.org]
[stderr] BUILD FAILED in 2m 24s Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. You can use ‘–warning-mode all’ to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See :command_line_warnings 5 actionable tasks: 5 executed Error: Gradle build failed with unknown error. See logs for the “Run gradlew” phase for more information.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.