Build fails on `react-native-navigation`
See original GitHub issueBuild/Submit details page URL
Summary
Build fails on react-native-navigation
[stderr] FAILURE: Build completed with 2 failures.
[stderr] 1: Task failed with an exception.
[stderr] -----------
[stderr] * Where:
[stderr] Build file '/home/expo/workingdir/build/node_modules/react-native-navigation/lib/android/app/build.gradle' line: 5
[stderr] * What went wrong:
[stderr] A problem occurred evaluating project ':react-native-navigation'.
[stderr] > Plugin with id 'kotlin-android' not found.
[stderr] * Try:
[stderr] > Run with --stacktrace option to get the stack trace.
[stderr] > Run with --info or --debug option to get more log output.
[stderr] > Run with --scan to get full insights.
[stderr] ==============================================================================
[stderr] 2: Task failed with an exception.
[stderr] -----------
[stderr] * What went wrong:
[stderr] A problem occurred configuring project ':react-native-navigation'.
[stderr] >
[stderr] compileSdkVersion is not specified. Please add it to build.gradle
[stderr] * Try:
[stderr] > Run with --stacktrace option to get the stack trace.
[stderr] > Run with --info or --debug option to get more log output.
[stderr] > Run with --scan to get full insights.
[stderr] ==============================================================================
[stderr] * Get more help at https://help.gradle.org
[stderr] BUILD FAILED in 2m 10s
Just started with EAS so not sure if this should be reported here or with react-native-navigation
Managed or bare?
Managed
Environment
expo-env-info 1.0.4 environment info: System: OS: Linux 5.18 Arch Linux Shell: 3.4.1 - /bin/fish Binaries: Node: 16.15.1 - /usr/bin/node Yarn: 1.22.19 - /usr/bin/yarn npm: 8.5.5 - /usr/bin/npm npmPackages: @expo/webpack-config: ~0.16.21 => 0.16.25 expo: ^45.0.0 => 45.0.6 react: 17.0.2 => 17.0.2 react-dom: 17.0.2 => 17.0.2 react-native: 0.68.2 => 0.68.2 react-native-web: 0.17.7 => 0.17.7 Expo Workflow: managed
Error output
No response
Reproducible demo or steps to reproduce from a blank project
Not possible ATM, build should give enough information for now. Will see what I can do if required.
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
react-navigation installing caused build failed - Stack Overflow
After I install react-navigation and other dependencies, it keeps running into this error. I have tried to clean the cache and reinstall ...
Read more >Troubleshooting | React Navigation
This section attempts to outline issues that users frequently encounter when first getting accustomed to using React Navigation. These issues may or may...
Read more >Installation | React Native Navigation - Open Source
This is a good moment to build your application in both platforms, validate that everything is working properly and commit your changes. If...
Read more >React Native Navigation: Tutorial with examples
In this React Native Navigation tutorial, we'll show you some examples of navigation patterns you can implement with React Navigation.
Read more >Troubleshooting for React Native | Sentry Documentation
Troubleshooting · App Start Numbers Are Too High To Be Accurate · Unhandled Promise Rejections · Source Maps · iOS Build Script Failed...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Go to package.json and delete react-native-navigation. Thats work for me
omfg,
react-native-navigation
was a lingering package and it confused me withreact-navigation
.