Comments (18)
Please am having the same error in expo-blur
Could not find method useDefaultAndroidSdkVersions() for arguments [] on project ':expo-blur' of type org.gradle.api.Project.
Got it fixed running this command :
npx expo install --fix
https://docs.expo.dev/workflow/upgrading-expo-sdk-walkthrough/
from expo.
@gpurbia I am getting this same error but with expo-document-picker
tried so many things but not getting any solution. Still Trying
from expo.
is this related to the release of Expo 51? we're on 50 but maybe something snuck into the build pipeline?
had this happen for the first time after really minimal code changes an hour ago.
from expo.
Have the same problem thrown by expo-constants
.
npx expo install --fix
did not fix it.
from expo.
@bigxalx it should work with expo 51, i upgraded with 51, and it start working.
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.
@gpurbia Did you find the solution ???
from expo.
@Shubh-Rajawat not yet, i am going with expo-sqlite again for now, will check with expo 51 if its resolved or not.
from expo.
https://github.com/expo/expo/blob/sdk-51/packages/expo-document-picker/android/build.gradle
@Shubh-Rajawat yeah, because the same method is there also in gradle file, check above link. There may be something we are missing with dependencies here. Or you can try with expo 51 which was released today only.
from expo.
Please am having the same error in expo-blur
Could not find method useDefaultAndroidSdkVersions() for arguments [] on project ':expo-blur' of type org.gradle.api.Project.
from expo.
npx expo install --fix
it worked.. Thanks to both of you @paulayo93 and @gpurbia . This was my first React native project, Now I have downloaded the file from expo.dev and the extension is .aab
I don't know how to use it as apk
in mobile. I am still figuiring this out.
from expo.
npx expo install --fix
it worked.. Thanks to both of you @paulayo93 and @gpurbia . This was my first React native project, Now I have downloaded the file from expo.dev and the extension is.aab
I don't know how to use it asapk
in mobile. I am still figuiring this out.
Found this too .-- https://docs.expo.dev/build-reference/apk/
from expo.
@bigxalx it should work with expo 51, i upgraded with 51, and it start working.
That worked, thanks!
This might be useful to anyone who updated to expo 51 on day one: I got some errors, so reverted back to 50. If you experienced the same, try upgrading to 51 again as 51.0.2 seemed to fix the bugs I got.
from expo.
FAILURE: Build failed with an exception. * Where: Build file 'C:\Code\React Native\projectFolder\node_modules\expo\android\build.gradle' line: 9 * What went wrong: A problem occurred evaluating project ':expo'. > Could not find method useDefaultAndroidSdkVersions() for arguments [] on project ':expo' of type org.gradle.api.Project.
help still not fix* with npx expo install --fix
from expo.
FAILURE: Build failed with an exception. * Where: Build file 'C:\Code\React Native\projectFolder\node_modules\expo\android\build.gradle' line: 9 * What went wrong: A problem occurred evaluating project ':expo'. > Could not find method useDefaultAndroidSdkVersions() for arguments [] on project ':expo' of type org.gradle.api.Project.
help still not fix* with npx expo install --fix
Not working for me as well for :expo-blur
from expo.
FAILURE: Build failed with an exception. * Where: Build file 'C:\Code\React Native\projectFolder\node_modules\expo\android\build.gradle' line: 9 * What went wrong: A problem occurred evaluating project ':expo'. > Could not find method useDefaultAndroidSdkVersions() for arguments [] on project ':expo' of type org.gradle.api.Project.
help still not fix* with npx expo install --fix
for some reason i fix it by just removing this "react-native-swiper-flatlist"
from expo.
having the same issue with expo 50 , Could not find method useDefaultAndroidSdkVersions() for arguments [] on project ':expo-system-ui' .
I didn't want to upgrade to expo 51 because it doesn't support some modules i uses in my project , like expo-background-fetch
from expo.
I was on Expo 50 and tried npx expo install --fix with no luck then upgraded to expo@51 and then ran npx expo install --fix with success, I was having a problem with expo-crypto.
from expo.
Related Issues (20)
- [expo-media-library] Issue with expo-media-library's saveToLibraryAsync function not working after building APK
- Error: Cannot find native module 'ExpoAsset'
- Android physical device - app icon shown before splash screen HOT 2
- iOS Specific Issue HOT 1
- Cannot find native module 'ExpoSQLiteNext', js engine: hermes
- Unable to resolve import of file after upgrading from SDK 48 to 51 in monorepo HOT 3
- [expo-av][iOS] Duck / unduck is not working properly on iOS HOT 2
- Expo 51: expo-sensors: DeviceMotion.addListener crashes on Android in eventsToMap (DeviceMotionModule.kt) HOT 3
- Expo 50 -> 51 Error: EMFILE: too many open files, watch HOT 5
- Expo Go app (Android) is stuck on Expo Logo on startapp. HOT 1
- [docs] expo-sqlite getAsync function reference
- [Task-manager][BackgroundFetch]PluginError: Plugin is an unexpected type: object HOT 1
- Error Cannot find native module ExpoFontLoader HOT 2
- Send parameters to nested navigators
- @expo/fingerprint return error - Cannot get Expo config from an Expo project HOT 1
- Background Fetch not work in Background HOT 3
- expo start --dev-client binds to ipv6 while internal distribution with dev-client connects only via ipv4
- [camera] torch not working HOT 2
- Watchman install not recommended for iOS development [docs] HOT 1
- [expo-video] I can't use youtube urls to show videos in my app HOT 1
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.