Execution failed for Task :@react-native-community_netinfo:compileDebugJavaWithJavac FAILED'. React-native
See original GitHub issueEnvironment
Platforms
Versions
- Android:
- iOS:
- react-native-netinfo:
- react-native:
- react:
Description
My react native project fails to build app and gives this error:
Task :@react-native-community_netinfo:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ‘:@react-native-community_netinfo: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 3s 10 actionable tasks: 1 executed, 9 up-to-date error Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/getting-started.html error Command failed: ./gradlew app:installDebug. Run CLI with --verbose flag for more details. npm ERR! code ELIFECYCLE npm ERR! errno 1
Reproducible Demo
Issue Analytics
- State:
- Created 10 months ago
- Comments:13 (3 by maintainers)
Top GitHub Comments
Ok @trinhnguyen81 I will try that and update you the output.
On Thu, 24 Nov 2022 at 7:55 PM trinhnguyen81 @.***> wrote:
Hi ,
I am trying to debug this error since 2 days. Couldnot able to succeed. Please notify me if you find the solution. I will inform you if I found the bug.
Ping me through linkedin
https://www.linkedin.com/in/punna-sai-teja-shashank-7608b4194
Thanks Sai Teja Shashank