How can I eject Android project only?

Currently, I already have the iOS project been ejected, how can I eject the Android project base on that? I have tried running “expo eject”, but it didn’t work, throwing an error message "ios directory already exists. Please remove it and try again."

Maybe you could try this:

  • Make sure everything is committed in Git so that you can run git reset --hard HEAD to get back to the current state if something goes wrong.
  • Rename the ios directory to ios.real and remove the android directory if there is one.
  • Run expo eject.
  • Remove the new ios directory.
  • Rename the ios.real directory back to ios.

Seems a good workaround :grin:, thanks!