mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Updated docs for next
This commit is contained in:
@@ -131,7 +131,7 @@ react<span class="token operator">-</span>native run<span class="token operator"
|
||||
|
||||
</span><p>If everything is set up correctly, you should see your new app running in your Android emulator shortly.</p><span><block class="windows android" />
|
||||
|
||||
</span><blockquote><p>If you're targeting API level 23, the app might crash on first launch with an error smilar to <code>Unable to add window android.view.ViewRootImpl$W@c51fa6 -- permission denied for this window type</code>. To fix this, you need to go to <code>System settings > Apps > Configure apps > Draw over other apps</code> and grant the permission for the app.</p></blockquote><p>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.</p><span><block class="windows linux android" />
|
||||
</span><blockquote><p>If you're targeting API level 23, the app might crash on first launch with an error smilar to <code>Unable to add window android.view.ViewRootImpl$W@c51fa6 -- permission denied for this window type</code>. To fix this, you need to go to <code>System settings > Apps > Configure apps > Draw over other apps</code> and grant the permission for the app.</p></blockquote><p>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.</p><span><block class="windows linux android" />
|
||||
|
||||
</span><h3><a class="anchor" name="modifying-your-app"></a>Modifying your app <a class="hash-link" href="docs/getting-started.html#modifying-your-app">#</a></h3><p>Now that you have successfully run the app, let's modify it.</p><ul><li>Open <code>index.android.js</code> in your text editor of choice and edit some lines.</li><li>Press the <code>R</code> key twice or select <code>Reload</code> from the Developer Menu to see your change!</li></ul><h3><a class="anchor" name="that-s-it"></a>That's it! <a class="hash-link" href="docs/getting-started.html#that-s-it">#</a></h3><p>Congratulations! You've successfully run and modified a React Native app.</p><span><center><img src="img/react-native-congratulations.png" width="150"></img></center>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user