Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failing after installation of the library. #26

Open
imAunAbbas opened this issue Dec 14, 2022 · 3 comments
Open

Build failing after installation of the library. #26

imAunAbbas opened this issue Dec 14, 2022 · 3 comments

Comments

@imAunAbbas
Copy link

After installation of the library into my project. But when I started to build the project, it failed every time saying:

> Task :react-native-leaflet-view:compileDebugKotlin FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

`FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-leaflet-view:compileDebugKotlin'.

Compilation error. See log for more details

  • 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:
    java.lang.StackOverflowError (no error message)

  • 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.
==============================================================================

BUILD FAILED in 10s`

I also tried to clean the project first but nothing worked for me. Is there any solution or anyone faced this issue and found anything to solve this?

@cybergears
Copy link

I also have the same issue . looks like it does not support the latest version of react native .

@loloide
Copy link

loloide commented Feb 17, 2023

i fixed it with changing node_modules/react-native-leaflet-view/android/gradle.properties

i changed Leaflet_kotlinVersion to 1.6.10
and it works

@S21810014
Copy link

i fixed it with changing node_modules/react-native-leaflet-view/android/gradle.properties

i changed Leaflet_kotlinVersion to 1.6.10 and it works

Thanks you so much! This fixed my build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants