react-native/local-cli
Martin Konicek 441c464c2b Make it clear Android emulator is the quickest way to get started
Summary: A lot of people try to use a device as the very first thing when trying
out React Native. I've observed this at the developer workshop in Prague
and on Twitter.

However, developing on pre-API 21 devices is quite involved:
https://facebook.github.io/react-native/docs/running-on-device-android.html

I'm thinking we could recommend installing Android together with Android
studio. Android studio installs HAXM for you (hardware acceleration, without
this Google emulators are useless) and also creates and starts emulators.
So it would be quite a smooth experience similar to pressing 'Run' in Xcode.

We'd just need to integrate with Gradle so that installing the app also starts
the packager. I think that's something we should do in any case.

Probably an even better option is to build a React Native-specific tool that
lets you do everything you need: opens the Android SDK Manager, creates and
starts emulators, detects whether you have Genymotion and opens it, upgrades
node and npm etc.

public

Reviewed By: vjeux

Differential Revision: D2604774

fb-gh-sync-id: c7ffb701b4e5209815faf652926937c22943be95
2015-11-03 04:05:27 -08:00
..
__mocks__ Fix more tests 2015-09-16 13:05:30 -07:00
__tests__ Generate bundle and assets when building via Xcode 2015-10-21 18:44:27 -07:00
bundle Add option to indicate bundle encoding 2015-10-28 13:20:28 -07:00
dependencies Revert "Add folders to attempt to unblock sync" 2015-10-26 22:48:10 +00:00
generate Revert "Add folders to attempt to unblock sync" 2015-10-26 22:48:10 +00:00
generator add upgrade cli command 2015-10-23 03:37:28 -07:00
generator-android Make it clear Android emulator is the quickest way to get started 2015-11-03 04:05:27 -08:00
generator-ios Make it clear Android emulator is the quickest way to get started 2015-11-03 04:05:27 -08:00
library Introduce react-native link 2015-10-27 11:22:28 -07:00
runAndroid More descriptive error message when Gradle build/install fails 2015-11-03 03:48:26 -08:00
server update pro tip to clarify how to configure zsh shell 2015-11-02 21:33:31 -08:00
upgrade Revert "Add folders to attempt to unblock sync" 2015-10-26 22:48:10 +00:00
util Revert "Add folders to attempt to unblock sync" 2015-10-26 22:48:10 +00:00
cli.js Introduce react-native link 2015-10-27 11:22:28 -07:00
default.config.js Use default asset roots on `default.config.js` 2015-10-23 18:49:25 -07:00
generate-android.js Add license headers to local-cli 2015-10-20 09:55:21 -07:00
generator-utils.js Add license headers to local-cli 2015-10-20 09:55:21 -07:00
setup_env.bat Fix comments on .bat file 2015-10-28 21:36:07 -04:00
setup_env.sh Start packager through cli 2015-10-21 03:03:59 -07:00
wrong-react-native.js Bring back global cli module check 2015-10-26 15:36:29 -07:00