Expo run on android emulator using windows 10

若如初见. 提交于 2019-12-03 00:29:48

Yes you can:-(With zero android studio config)

  1. Install expo-cli globally.
  2. Install android Studio.
  3. Create a project by running expo-cli init
  4. No need of any configuration on android Studio.
  5. Open existing Project from android studio

  1. then Open the created expo Project it will be available as an android project with a android logo on it
  2. then open the AVD Manager

  3. Download and install whichever device you want but see to that its above android N and do it for x86

  4. after Installing the desired emulator

  1. run the emulator before running the project
  2. then run expo start to start the Project
  3. Go to the metro builder and say run android

  4. if it doesn't run on the first go or if you get error close the project from emulator from recents and do a run on android again from metro builder don't close project just the running project from recent on emulator

  1. then it should work

Delete the directory C:\Users\Rizwan.expo\android-apk-cache and opening the project on android again It will run

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!