Launch emulator error message

Summary:
It's not obvious for non-mobile developers how to fix it when there are no emulators available. Adding a quick section in the troubleshooting guide and linking to it.

Changelog: Add link to troubleshooting page when no emulators are available.

Reviewed By: nikoant

Differential Revision: D36599925

fbshipit-source-id: f3a1e79e07209e34b66176102c85e7797292978c
This commit is contained in:
Pascal Hartig
2022-05-24 07:55:40 -07:00
committed by Facebook GitHub Bot
parent f84f56614d
commit a73f736d92
3 changed files with 29 additions and 2 deletions

View File

@@ -41,3 +41,13 @@ The following devices are known to be incompatible or face issues with Flipper:
* Some Samsung devices ([Tracking Issue](https://github.com/facebook/flipper/issues/92)).
* Genymotion emulators on Android 8+ are reported to have issues.
## I see "No emulators available"
For **Android**, you first need to set up Android Virtual Devices, called AVDs. You
can do this in Android Studio using the [Virtual Device Manager](https://developer.android.com/studio/run/managing-avds).
For **iOS**, after installing Xcode, you should have a default set of simulators set up. However,
it is possible to delete them and there is no easy way to restore them afterwards. You can use
[a script like this one](https://gist.github.com/dynamicguy/e8756a9f0f50af86d6e746d4b1ab6a09) to
recreate the default set.