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.

39.0.0 is not a valid sdk version

See original GitHub issue

🐛 Bug Report

Summary of Issue

Upgraded expo-cli (sudo yarn global add expo-cli), upgraded my project to Expo SDK 39 (expo upgrade), uninstalled the Expo app in my emulator, ran expo start -c, launched in Android which installed the latest client, and then received the following. Closing everything and restarting doesn’t help.

Screenshot_20200921_182648

Environment - output of expo diagnostics & the platform(s) you’re targeting

$ expo diagnostics

  Expo CLI 3.27.6 environment info:
    System:
      OS: Linux 5.8 Fedora 32 (Workstation Edition) 32 (Workstation Edition)
      Shell: 5.0.17 - /bin/bash
    Binaries:
      Node: 12.18.3 - /usr/bin/node
      Yarn: 1.21.1 - /usr/bin/yarn
      npm: 6.14.6 - /usr/bin/npm
    npmPackages:
      expo: ^39.0.0 => 39.0.2 
      react: 16.13.1 => 16.13.1 
      react-native: https://github.com/expo/react-native/archive/sdk-39.0.0.tar.gz => 0.63.2 
    npmGlobalPackages:
      expo-cli: 3.27.4
    Expo Workflow: managed

Steps to Reproduce

  1. yarn init play
  2. cd play
  3. yarn android

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

19reactions
brentvatnecommented, Sep 22, 2020

your expo client version is out of date. you can run expo client:install:android to get the latest

╰─$ expo client:install:android                                                                                                                                                                                         130 ↵
? You are currently using SDK 39.0.0. Would you like to install client 2.17.2 released for this SDK? › (Y/n)
3reactions
kevgrigcommented, Sep 22, 2020

I got this to work by uninstalling the Expo app, then downloading the latest Expo app from the Play store and it worked (I don’t normally do it this way as I don’t bother signing into the Play store).

Could it be that the app in expo-cli hasn’t been updated (or where-ever the app is packaged for expo client:install:*)? Note that I did run sudo yarn global add expo-cli before all of this without error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

31.0.0 is not a valid SDK Version. Option are 26.0.0 ...
I needed this upgrade to do due iOS version 12 support. Thou after trying to build the Android app it is no longer...
Read more >
I cant upgrade my expo sdk to 39 and above stuck on expo 38 ...
i have tried expo update, expo update 42.0.0 yet when i run my build it says upgrade to sdk 39 or above SDK...
Read more >
33.0.0 is not a valid sdk, 38 is not a valid sdk version expo, uncaught ...
This tutorial has been designed to resolve the issue when the system says that a particular program is not a valid win32 application....
Read more >
xdl - UNPKG
34, "description": "The Expo sdkVersion to run the project on. ... 380, "description": "If true, indicates that your standalone iOS app does not...
Read more >
Expo SDK 39 is now available - DEV Community ‍ ‍
Here's how to upgrade your app to Expo SDK 39.0.0 from 38.0.0: Run expo upgrade in your project directory (requires the latest version...
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