Please provide the following:
- SDK Version: 6.3.10
- Platforms(Android/iOS/web/all): Android
- 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.