Tehseen Afzal
Tehseen Afzal

Reputation: 1

I need help I face problem in Execution failed for task ':react-native-navigation:compileReactNative57DebugJavaWithJavac'

What went wrong: Execution failed for task ':react-native-navigation:compileReactNative57DebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 5s 30 actionable tasks: 1 executed, 29 up-to-date 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/android-setup.html

Upvotes: 0

Views: 1075

Answers (1)

Radhika Padiyar
Radhika Padiyar

Reputation: 351

Run the following command in your project terminal: gradle build --warning-mode=all to see what exactly the deprecated features are. It will provide you with he detailed description on the issues with links. Follow he guidelines provided in the links. Also make sure your react-navigation version is compatible with react-native version. Hope this helps!!

Upvotes: 0

Related Questions