New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android build failed using eas build. #1101
Comments
bump, experiencing same error. |
Facing same error |
@basit3407 any solution? |
@sumanbhattarai steps you provided do not reproduce the issue, please verify that is happening on a blank project and/or provide a repository with a repro of the issue |
@wkozyra95 you can create a new project using expo sdk 41 and then upgrade it to expo 45. Then try to build using eas build for android. |
@sumanbhattarai The second set of reproduction steps also didn't work, it looks like you have not tested the original reproduction nor the one you provided in the abovee comment. I do not intend to spend any more time on that unless you provide proof that you tested those reproduction steps locally (gist or sth similar with full output of the terminal) |
This is the full output when I see logs for the
|
@sumanbhattarai nopes no solution yet. |
i faced this issue when i upgraded from expo sdk 44 to expo sdk 45. everything was working perfectly fine in expo sdk 44. i had multiple builds in expo sdk 44. however once i upgraded to expo sdk 45 and ran eas build -p android, i am getting this build error |
i should also mention that, just now i again downgraded my project to expo sdk 44, and downgraded all the libraries to versions which were compatible with expo sdk 44. And boom everything works perfectly fine. |
@basit3407, downgrading the |
We're also having this issue on |
Encountered this today on an SDK 45 project. Most recent activity before this happened was to uninstall |
@DJ-Icebear @AllanBengco This error is caused by the fact that sdk45 is targeting a newer version of android SDK than sdk44 and that version requires "android:exported" to be explicitly defined. If you are seeing this issue it's either:
|
Having this same issue. How did you know which versions were compatible and which to downgrade? |
Apparently this issue is coming only in expo sdk 45, downgrading to previous version i.e expo sdk 44 resolves it |
I am miffed that this got closed when the resolution seems to be "Don't use SDK 45....downgrade to an earlier release" ?? |
Hi all! As mentioned by @wkozyra95:
Without being able to reproduce it, we can't investigate or fix this issue. If someone can share a minimal example in a repository with this issue, please open a new issue. |
@gregfenton Issue is closed because it's caused by using an incompatible version of the library
either way I do not see anything that would suggest that this is an SDK issue, it's started showing up after upgrade because the targetSdkVersion changed |
Build/Submit details page URL
https://expo.dev/accounts/ersumanbhattarai/projects/queue-native/builds/42fcc1fc-cc31-42cc-83a0-6ef348050f9b
Summary
I upgraded my expo project to
expo 45.0.0
fromexpo 41.0.0
. While building the project using the commandeas build -p android
, it fails with the above errors. However, the ios build is fine.Managed or bare?
Managed
Environment
expo-env-info 1.0.3 environment info:
System:
OS: macOS 12.2.1
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.19.0 - ~/.nvm/versions/node/v14.19.0/bin/node
Yarn: 1.22.18 - ~/.yarn/bin/yarn
npm: 8.5.4 - ~/Desktop/queue-app/node_modules/.bin/npm
Watchman: 2021.06.07.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.0.1, iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0
Android SDK:
API Levels: 29, 30, 31
Build Tools: 28.0.3, 29.0.2, 30.0.2, 31.0.0
System Images: android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8512546
Xcode: 13.1/13A1030d - /usr/bin/xcodebuild
npmPackages:
babel-preset-expo: ~9.1.0 => 9.1.0
expo: ^45.0.0 => 45.0.0
react: 17.0.2 => 17.0.2
react-dom: 17.0.2 => 17.0.2
react-native: 0.68.1 => 0.68.1
react-native-web: 0.17.7 => 0.17.7
react-navigation: ^4.1.0 => 4.4.4
npmGlobalPackages:
eas-cli: 0.52.0
expo-cli: 5.4.3
Expo Workflow: managed
Error output
Reproducible demo or steps to reproduce from a blank project
eas build -p android
to build the android app.The text was updated successfully, but these errors were encountered: