You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Task :config-plugins-react-native-branch:compileReleaseKotlin FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':config-plugins-react-native-branch:compileReleaseKotlin'.
> Inconsistent JVM-target compatibility detected for tasks 'compileReleaseJavaWithJavac' (17) and 'compileReleaseKotlin' (18).
Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain
Learn more about JVM-target validation: https://kotl.in/gradle/jvm/target-validation
* 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.
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.
For more on this, please refer to https://docs.gradle.org/8.6/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 1m 58s
547 actionable tasks: 536 executed, 11 up-to-date
I did my research and tried several solution changing in my build.gradle files, but the error is persisting and i am not able to build my android project
Summary
I am trying to integrate my branch.io project with my react native expo project.
I am using expo sdk 51 with @config-plugins/react-native-branch 8.0.0
Expected to build directly on android but it is giving me an error
(The issue is only with Android build, IOS build is working fine)
Config Plugin
@config-plugins/react-native-branch
What platform(s) does this occur on?
Android
SDK Version
51.0.11
Reproducible demo
Those are the packages used in my package.json file
I followed the instructions to install and configure @config-plugins/react-native-branch from .
When i try to build my app for the android platform:
it is giving the following error
I did my research and tried several solution changing in my build.gradle files, but the error is persisting and i am not able to build my android project
my build.gradle after several fixes are as follow
build.gradle (project level)
build.gradle (app level)
The text was updated successfully, but these errors were encountered: