Update EmbeddedAppAndroid.md

Summary:The version of 0.17 will cause error ("undefined is not an object (evaluating 'screenPhysicalPixels.width')") when run to devices/simulator.
also see https://github.com/facebook/react-native/issues/5963
Closes https://github.com/facebook/react-native/pull/6076

Differential Revision: D2960511

fb-gh-sync-id: bd71de789fa1501b285b9bde01cf12ab9ce75888
shipit-source-id: bd71de789fa1501b285b9bde01cf12ab9ce75888
This commit is contained in:
DebbieFire 2016-02-22 08:25:21 -08:00 committed by facebook-github-bot-4
parent c17428e9d2
commit e3f19b176a

View File

@ -18,7 +18,7 @@ Since React makes no assumptions about the rest of your technology stack, it's e
In your app's `build.gradle` file add the React Native dependency: In your app's `build.gradle` file add the React Native dependency:
compile 'com.facebook.react:react-native:0.17.+' compile 'com.facebook.react:react-native:0.20.+'
You can find the latest version of the react-native library on [Maven Central](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.facebook.react%22%20AND%20a%3A%22react-native%22). Next, make sure you have the Internet permission in your `AndroidManifest.xml`: You can find the latest version of the react-native library on [Maven Central](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.facebook.react%22%20AND%20a%3A%22react-native%22). Next, make sure you have the Internet permission in your `AndroidManifest.xml`: