Upgrade managed workflow App to Expo 39 and now my App is on bare workflow

Hi everyone! Sorry about my english!

I’ve upgraded my App (managed workflow) from:

  1. SDK 36:
  2. Platforms(Android/iOS)

to SDK 39 following the link instructions https://dev.to/expo/expo-sdk-39-is-now-available-1lm8 and continue to adding some other funcionality to the App.

But now when I wanna build my App with expo build:Android this gives me a warning:

expo build:android currently only supports managed workflow apps.

I haven’t done an eject to the project and really don’t know what happened.

Thanks in advice

You could try using git to revert to a commit from before the problem.

Otherwise you could create a new Expo project and compare the files that exist in both projects. In particular app.json and other config files. Also in a managed app you should not have iOS or android directories.

Hey @hsabillon,

Can you provided a detailed recap of the steps you took to upgrade? As wodin mentioned, if you see ios and android directories in your project now something went wrong.

Cheers,
Adam

Hey @adamjnav,

These are the steps I’ve made to upgrade the project:

  1. Update expo-cli
  2. expo upgrade in the project directory

As @wodin says, I’ve made the updgrade in another branch so the project has the possibility to revert. Also, after the upgrade my projects has iOS and Android directories. Reading in another documentation from Expo, I’ve deleted the iOS and Android directories and compare the app.json created by a new project and could resolve this issue.

Now Expo says Managed Workflow when I run expo build:android. Honestly I don’t have any clue why this happened…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.