Open jsathu07 opened 1 year ago
info Starting JS server...
info 💡 Tip: Make sure that you have set up your development environment correctly, by running react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
FAILURE: Build failed with an exception.
Where: Build file '/home/jsathu07/apps/Paytutor/node_modules/@payhere/payhere-mobilesdk-reactnative/android/build.gradle' line: 127
What went wrong: A problem occurred configuring project ':payhere_payhere-mobilesdk-reactnative'.
Could not set unknown property 'classifier' for task ':payhere_payhere-mobilesdk-reactnative:androidJavadocJar' of type org.gradle.api.tasks.bundling.Jar.
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/
BUILD FAILED in 23s error Failed to install the app. Command failed with exit code 1: ./gradlew tasks FAILURE: Build failed with an exception. Where: Build file '/home/jsathu07/apps/Paytutor/node_modules/@payhere/payhere-mobilesdk-reactnative/android/build.gradle' line: 127 What went wrong: A problem occurred configuring project ':payhere_payhere-mobilesdk-reactnative'.
Could not set unknown property 'classifier' for task ':payhere_payhere-mobilesdk-reactnative:androidJavadocJar' of type org.gradle.api.tasks.bundling.Jar. 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/ BUILD FAILED in 23s Task :gradle-plugin:compileKotlin UP-TO-DATE Task :gradle-plugin:compileJava NO-SOURCE Task :gradle-plugin:pluginDescriptors UP-TO-DATE Task :gradle-plugin:processResources UP-TO-DATE Task :gradle-plugin:classes UP-TO-DATE Task :gradle-plugin:jar UP-TO-DATE Task :gradle-plugin:inspectClassesForKotlinIC UP-TO-DATE > Configure project :app Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin. > Configure project :payhere_payhere-mobilesdk-reactnative 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. Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.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 https://docs.gradle.org/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings 5 actionable tasks: 5 up-to-date.
Downgrade your gradle version via Android studio from 8.0 to 7.6
changing gradle version will affect to other libraries?
Yeah it will, I didn't find a better solution
A problem occurred configuring project ':payhere_payhere-mobilesdk-reactnative'.