> Task :react-native-async-storage_async-storage:compileDebugJavaWithJavac FAILED Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.

See original GitHub issue

What happened?

I am facing this issue please

Task :react-native-async-storage_async-storage:compileDebugJavaWithJavac FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.

Version

1.15.17

What platforms are you seeing this issue on?

  • Android
  • iOS
  • macOS
  • Windows
  • web

System Information

OS: Windows 10 10.0.19042
    CPU: (4) x64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
    Memory: 5.99 GB / 15.87 GB
  Binaries:
    Node: 16.14.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.15 - C:\Program Files\nodejs\yarn.CMD
    npm: 8.3.1 - C:\Program Files\nodejs\npm.CMD
    Watchman: Not Found
  SDKs:
    Android SDK: Not Found
    Windows SDK: Not Found
  IDEs:
    Android Studio: Version     2021.1.0.0 AI-211.7628.21.2111.8139111
    Visual Studio: Not Found
  Languages:
    Java: 15.0.2 - C:\Program Files\Common Files\Oracle\Java\javapath\javac.EXE
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.65.1 => 0.65.1
    react-native-windows: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to Reproduce

Task :react-native-async-storage_async-storage:compileDebugJavaWithJavac FAILED

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

9reactions
alihaxan020commented, Mar 14, 2022

Thank you @krizzu. I have solved the issue, I have deleted the node modules, and then install it again,

0reactions
tido64commented, Nov 15, 2022

Hi folks,

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0 is never a cause for build failure. It is only a warning. If your build is failing, please file a new issue, post the FULL build log, and create a minimal reproducible case so others can debug your issue. There are no single issue that leads to build failure. We need more information in order to help you.

Before you file a new issue, please also make sure that you’re not being hit by this: https://github.com/facebook/react-native/issues/35210

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deprecated Gradle features were used in this build, making it ...
Have you tried running ./gradlew bundleRelease --warning-mode all ? It will give you more info on what are incompatible.
Read more >
Deprecated Gradle features were used in this build ... - GitHub
I got this error as well today: "Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0." It looks...
Read more >
deprecated gradle features were used in this build ... - You.com
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Run with --stacktrace option to get the stack trace....
Read more >
Upgrading your build from Gradle 7.x to the latest
Starting with Gradle 7.6, non-strict accessors generation for Kotlin DSL precompiled script plugins has been deprecated. This will change in Gradle 8.0. Strict ......
Read more >
Deprecated Gradle features were used in this build.
Hi all from today I'm unable to perform a build of my native app and get the below errors the main one i...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found