Support for React Native 0.67
See original GitHub issueSummary
Expo is breaking with react-native 0.67 with following error:
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-
Where: Build file ‘/Users/nj/Desktop/projects/xxx/node_modules/expo/android/build.gradle’ line: 3
-
What went wrong: A problem occurred evaluating project ‘:expo’.
Plugin with id ‘maven’ not found.
- 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. ==============================================================================
2: Task failed with an exception.
- What went wrong: A problem occurred configuring project ‘:expo’.
com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle
Managed or bare workflow? If you have ios/
or android/
directories in your project, the answer is bare!
bare
What platform(s) does this occur on?
Android
SDK Version (managed workflow only)
0.43
Environment
Expo CLI 5.0.3 environment info: System: OS: macOS 12.1 Shell: 5.8 - /bin/zsh Binaries: Node: 16.13.2 - /usr/local/bin/node Yarn: 1.22.17 - /usr/local/bin/yarn npm: 8.1.2 - /usr/local/bin/npm Watchman: 2022.01.17.00 - /usr/local/bin/watchman IDEs: Android Studio: 2020.3 AI-203.7717.56.2031.7935034 Xcode: /undefined - /usr/bin/xcodebuild npmGlobalPackages: expo-cli: 5.0.3 Expo Workflow: managed
Reproducible demo
Try with react-native 0.67
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:11 (5 by maintainers)
this is supported in expo@44.0.6
here’s a pr that will add support for react-native 67: https://github.com/expo/expo/pull/16080
we’ll likely release this sometime next week. you can use patch-package until then.