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

Doesn't work with new version of react native #6

Open
raihanM99 opened this issue Feb 8, 2022 · 0 comments
Open

Doesn't work with new version of react native #6

raihanM99 opened this issue Feb 8, 2022 · 0 comments

Comments

@raihanM99
Copy link

I'm using react-native 0.66.4. When I tried to implement the example, I get the following error message:

> Configure project :react-native-line-login
WARNING:: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed in version 7.0 of the Android Gradle plugin.
For more information, see http://d.android.com/r/tools/update-dependency-configurations.html.
WARNING:: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation'.
It will be removed in version 7.0 of the Android Gradle plugin.
For more information, see http://d.android.com/r/tools/update-dependency-configurations.html.
WARNING:: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.2.
Android SDK Build Tools 30.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

> Task :react-native-line-login:compileDebugJavaWithJavac FAILED
note: generating mipmap/ic_launcher_round with config "anydpi-v26" for round icon compatibility.


Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
96 actionable tasks: 3 executed, 93 up-to-date
/home/me/Project/react_apps/lineapp/node_modules/react-native-line-login/android/src/main/java/com/vunguyen/reactnative/androidsdk/LineReactPackage.java:18: error: method does not override or implement a method from a supertype
    @Override
    ^
Note: /home/me/Project/react_apps/lineapp//node_modules/react-native-line-login/android/src/main/java/com/vunguyen/reactnative/androidsdk/LineLoginManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-line-login:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for 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.

* Get more help at https://help.gradle.org

BUILD FAILED in 8s

I guess this plugin needs an update for new react native

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

1 participant