skip to Main Content

My situation is as follows:

  • SDK Version: 46.0.0
  • Platforms(Android/iOS/web/all): Android (9 PKQ1.180904.001 (MIUI Global 11.0.3.0(PEIMIXM)))
  • Add the appropriate “Tag” based on what Expo library you have a question on: no clue.
  • React Native version: no clue, but it should be the latest on the post’s date

I’ve just signed up at expo.dev and installed the Expo Go app on my android phone (Xiaomi Redmi Note 5). At the time there were no updates for the phone’s OS. Custom firmware wasn’t installed as well.
Now I’m trying to launch standard Hello World from the official React Native Introduction (Introduction · React Native).

Sadly, instead of a “Hello World” message, I see this:

The snack “@snack/sdk.46.0.0-peNxQR0YAV” was found, but wasn’t released for platform “android” and SDK version “46.0.0”

And it seems there is not much I can try out to get rid of this error.

There is a similar question: Expo uncaugh error : The snack @snack/sdk.32.0.0 was found
But the only answer is advice to update Expo Go, which is obviously not the proper case for the newly installed app.

So here is a logical question: How should I get rid of that error?

4

Answers


  1. Chosen as BEST ANSWER

    In addition to @Ravi's answer above I'll clarify, where exactly snack sdk version should be changed.

    When you read documentation and see a code example block, you should first switch to the full-window editing mode using the second button of the code example block caption button next to the example title. After you will get to the full-window editing mode, you should see there the dropdown menu in the right bottom corner where you should choose another version of sdk (45.0.0 in my case)


  2. Expo Go for Android does not currently support Expo v46. To fix this go to your snack and at the bottom right change the expo version to v45.

    It will ask you to restart Expo Go on your phone. Once you have done that it should work.

    Login or Signup to reply.
  3. Expo Go 2.25.1 support sdk46 and it is available. But I think it not yet updated on google play store. So the solution is to let expo install the lastest version on expo go for you.

    1. Uninstall the expo Go you downloaded from app store

    2. Enable android developer option on your phone (if your are using a physical device and if you didn’t do it before check here)

    3. connect your phone with the your computer using a usb cable

    4. go to your project and start it with expo start --android

    it worked for me.

    enter image description here

    Login or Signup to reply.
  4. Expo Go 2.25.1 support sdk46 and it is available. But I think it not yet updated on google play store.

    Follow https://expo.dev/tools and download the Android.apk archive

    Install this apk on your phone and sdk 46 you have

    It worked for me, cheers
    enter image description here

    https://blog.expo.dev/expo-sdk-46-c2a1655f63f7

    Note: Expo Go for Android with support for SDK 46 is not yet live on
    the Google Play Store
    — it is currently in review and expected to be
    released soon. You can install the latest Expo Go by downloading the
    APK directly
    or connecting your device to your computer and letting
    Expo CLI install it when you launch your project. While we are waiting
    for the app to be released to the store, projects created with npx
    create-expo-app will default to SDK 45. You can create a new SDK 46
    project by running npx create-expo-app –template blank@sdk-46

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search