If everything is set up correctly, you should see your new app running in your Android emulator shortly.
If you're targeting API level 23, the app might crash on first launch with an error smilar to
Unable to add window android.view.ViewRootImpl$W@c51fa6 -- permission denied for this window type. To fix this, you need to go toSystem settings > Apps > Configure apps > Draw over other appsand grant the permission for the app.
NOTE: Many React Native modules haven't been tested on Marshmallow and might break. Please throughly test the app if you target API level 23 and file a bug report if you find that something is broken.
If you're targeting API level 23, the app might crash on first launch with an error smilar to
Unable to add window android.view.ViewRootImpl$W@c51fa6 -- permission denied for this window type. To fix this, you need to go toSystem settings > Apps > Configure apps > Draw over other appsand grant the permission for the app.
NOTE: Many React Native modules haven't been tested on Marshmallow and might break. Please thoroughly test the app if you target API level 23 and file a bug report if you find that something is broken.
Now that you have successfully run the app, let's modify it.
index.android.js in your text editor of choice and edit some lines.R key twice or select Reload from the Developer Menu to see your change!Congratulations! You've successfully run and modified a React Native app.
