question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expo says invalid SDK version

See original GitHub issue

Description

When you just make a fresh new app, Expo throws an error saying than the SDK version 18.0.0 is invalid.

Expected Behavior

The app should start running on the device with the Expo client.

Observed Behavior

The APP is compiled and it’s sended to the device but it won’t load.

Uncaught Error: 18.0.0 s not a valid SDK version.
Options are 25.0.0, 24.0.0, 23.0.0, 22.0.0, 21.0.0, 20.0.0, 19.0.0, UNVERSIONED.

Environment

  • npm ls react-native-scripts: – react-native-scripts@1.11.1
  • npm ls react-native: – react-native@0.52.0
  • npm ls expo: – expo@25.0.0
  • node -v: v9.7.1
  • npm -v: 5.6.0
  • yarn --version: 1.5.1
  • watchman version: ERROR: (it’s not a command)

Also specify:

  1. Operating system: Windows 10 PRO
  2. Phone& version: Motorola G4 Play - Android: 6.0.1
  3. Expo Apk version: 2.3.0

Reproducible Demo

create-react-native-app my-apk
cd my-apk
yarn start
# Then press a to run it on my phone connected to the USB, using the QR code also fails

The expo client starts to load the app, but then it shows that error.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
Osama92commented, May 21, 2018

Update to the latest version of Expo

3reactions
astr0-4commented, May 17, 2018

I think this is because the Expo app needs updating. After seeing this issue, I updated the Expo app on my Android device and everything ran perfectly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Expo : Invalid sdkVersion "32.0.0" - react native - Stack Overflow
Error : Invalid sdkVersion. Then it tells you Expo supports SdkVersion : 10 through 31 inclusive, but within your app.json file you're trying ......
Read more >
"React Native version mismatch" errors - Expo Documentation
Run expo-cli doctor will show a warning where the react-native version you should install. If you did upgrade to newer SDK, make sure...
Read more >
[Solved]-Expo : Invalid sdkVersion "32.0.0"-React Native
Coding example for the question Expo : Invalid sdkVersion "32.0.0"-React ... Expo import error: invariant violation element type is invalid expected a ...
Read more >
Correct Expo SDK version for React-Native 0.61.5? - Reddit
I'm trying to add expo to my project, and I'm getting this error. Warning: Invalid version react-native@0.61.5 for expo sdkVersion 38.0.0.
Read more >
Invalid sdk key error - Web - Zoom Developer Forum
It was not working with correct SDK key it throws Invalid sdkkey error in the dev console. SDK version 2.7.0. C# code to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found