Comments (10)
my dirty fix is adding compileSdkVersion 34
to all the build.gradle
files of the expo packages in node_modules (expo-image-loader, expo-image-manipulator and expo-image-picker in my case).
Looks like this:
android {
// Remove this if and it's contents, when support for SDK49 is dropped
compileSdkVersion 34 // ADDED
if (!safeExtGet("expoProvidesDefaultConfig", false)) {
// compileSdkVersion safeExtGet("compileSdkVersion", 34) // REMOVED
defaultConfig {
minSdkVersion safeExtGet("minSdkVersion", 23)
targetSdkVersion safeExtGet("targetSdkVersion", 34)
}
...
But hoping for a cleaner fix..
from expo.
I have similar issue as well, well might be different but I believe it's related to this.
The build also failed but related to expo-file-system
If anyone has the same problem as me, I hope you can give me an insight related to this one..
from expo.
@hellfreezes - can you share a minimal reproducible example? i'm not sure how to reproduce this
Thanks for quick answer.
I'm already find the issue. In my case it was the required version of NDK was not installed (v. 26.1.10909125).
from expo.
Hi there! It looks like your issue requires a minimal reproducible example, but it is invalid or absent. Please prepare such an example and share it in a new issue.
The best way to get attention to your issue is to provide a clean and easy way for a developer to reproduce the issue on their own machine. Please do not provide your entire project, or a project with more code than is necessary to reproduce the issue.
A side benefit of going through the process of narrowing down the minimal amount of code needed to reproduce the issue is that you may get lucky and discover that the bug is due to a mistake in your application code that you can quickly fix on your own.
Resources
Common concerns
"I've only been able to reproduce it in private, proprietary code"
You may not have spent enough time narrowing down the root cause of the issue. Try out the techniques discussed in this manual debugging guide to learn how to isolate the problem from the rest of your codebase.
"I didn't have time to create one"
That's understandable, it can take some time to prepare. We ask that you hold off on filing an issue until you are able to fully complete the required fields in the issue template.
"You can reproduce it by yourself by creating a project and following these steps"
This is useful knowledge, but it's still valuable to have the resulting project that is produced from running the steps, where you have verified you can reproduce the issue.
from expo.
hi there! please provide a minimal reproducible example. your repo has over 100 dependencies!
from expo.
also, if you're seeing that error in expo-application compiling, try running npm why expo-application
- you probably have a package that is installing an old version of it
from expo.
@brentvatne removed the extra dependencies and after running npm why expo-application
I noticed the expo-notifications needed to be upgrade from 27 -> 28. So that error was removed, but I now I have error:
MainApplication.kt:41:9 Unresolved reference: BuildConfig
Tried adding android.defaults.buildfeatures.buildconfig=true
in gradle.properties
, but didn't help. So something might be necessary to be updated on expo-notifications. Opened a new issue here
from expo.
@JacobDel thanks for this workaround, @brentvatne is there an estimation on when we might have this fully solved? We've opened an issue here with a reproducible example, thanks for the help!
from expo.
Just upgrade my project from sdk 50 to sdk 51
I have lastest expo-notifications (0.28.5)
[email protected]
node_modules/expo-application
expo-application@"~5.9.0" from [email protected]
node_modules/expo-notifications
expo-notifications@"~0.28.5" from the root project
But still the same errors:
[RUN_GRADLEW] ℹ️ Applying gradle plugin 'expo-updates-gradle-plugin' ([email protected])
[RUN_GRADLEW] FAILURE: Build completed with 2 failures.
[RUN_GRADLEW] 1:
[RUN_GRADLEW] Task failed with an exception.
[RUN_GRADLEW] -----------
[RUN_GRADLEW] * Where:
[RUN_GRADLEW] Script '/private/var/folders/nz/sdkcbvxj1cl6yb6lny06rxh40000gn/T/eas-build-local-nodejs/820d9ae0-b3d1-4fb7-9a76-2422028c3502/build/node_modules/expo-modules-autolinking/scripts/android/autolinking_implementation.gradle' line: 408
[RUN_GRADLEW] 2: Task failed with an exception.
[RUN_GRADLEW] -----------
[RUN_GRADLEW] * Where:
[RUN_GRADLEW] Script '/private/var/folders/nz/sdkcbvxj1cl6yb6lny06rxh40000gn/T/eas-build-local-nodejs/820d9ae0-b3d1-4fb7-9a76-2422028c3502/build/node_modules/expo-modules-core/android/ExpoModulesCorePlugin.gradle' line: 85
Any ideas what to do?
from expo.
@hellfreezes - can you share a minimal reproducible example? i'm not sure how to reproduce this
from expo.
Related Issues (20)
- FREE PSN GIFT CARD CODES 2024 ✔ Free PSN Codes 2024 😳 PSN Code Giveaway
- ~ToDaY'S<(Free)How to get PSN Codes for FREE in 2024 | Free PSN Gift Card Codes for PS4/PS5!
- (Guides)~!!@!!^~Bingo Blitz Free Credits 2024 - Freebies Promo Codes Rewards
- LaTeSt!!**Bingo Blitz Free Credits 2024 - Freebies Promo Codes Rewards
- ✔[[FReE!!]]✔Bingo Blitz Free Credits 2024 - Freebies Promo Codes Rewards
- [[GeT!]] Bingo Blitz Free Credits 2024 - Freebies Promo Codes Rewards
- Bingo Blitz Free Credits - Get Bingo- Unlimited Free Coins & Power Ups Hack 2024
- Earn$$ dice dreams free rolls (2024) - Daily Links
- LaTeSt!!**Dice Dreams Free Rolls (June 2024) - Daily Links
- Dice Dreams Free Rolls (June 2024) - Daily Links
- fReE!! Dice Dreams Free Rolls 2024- Daily Links
- Daily Links Dice Dreams Free Rolls (June 2024)
- Route with Params resets to Index - Static Web & GitHub Pages HOT 5
- $ToDaY'S.FrEe*~ Cash App Money Generator 2024✔ GET Updated $750 Cash App Money Code
- ***NEW***(FREE) ROBLOX GIFT CARD GENERATOR CODES 2024
- (FREE®)~ $100+ PSN Gift Cards Generator 2024 Daily Update - PlayStation Store Gift Card Codes
- [~(Latest Codes)~]FrEe PsN giFt CaRd CoDeS 2024-fReE pSn CaRdS gEnErAtOr
- (UNLOCK)^^ $100 Free Xbox Codes in 2024 | How to get FREE Xbox Gift Cards
- FREE-100$ Xbox Gift Cards Code Generator Update 2024-2025 Latest Tips and Tricks
- FREE Xbox Gift Card Codes [Updated] 50+ New Redeem Code 2024✔How to get Xbox Gift Cards FOR FREE
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expo.