After two days of frustration, android apps are finally running

Environment: Mac + Android Studio(1.1.0) + Genymotion(2.11.0)

The following SDK component was not installed: sys-img-x86-adon-google_apis – Google-21

Solution:

Step one, reference stackoverflow.com/a/30101297/… . Close the “X” button in the upper right corner and click “Downloading Components”. In the pop-up window, choose “Re-run the Setup Wizard on the next Android Studio Startup (Recommended)” and click OK

Step 2: refer to www.cnblogs.com/yjmyzz/p/42… Installing the SDK.

B, Make sure you have an Android emulator running or a device connected and have

Solution: the Android SDK Build – Tools 23.0.1 instead, reference [reactnative. Cn/docs / 0.27 / g…

Problem 3, Could not run adb reverse: spawnSync

Solution: stackoverflow.com/a/40123229/…

SDK Manager is not found in Android Studio

Solution: First make sure Android Support is checked

You can find the SDK Manager in the following ways

summary

I found with many problems because of no official documents reactnative. Cn/docs / 0.27 / g… “, but their own random match, then according to the official document to change