diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-04-26 16:27:44 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-04-26 16:28:14 +0100 |
commit | 3eaca677cb5fe6bdab674339b42027bcc2102751 (patch) | |
tree | 45511dad9a386499e9ebf46a77c17f539a08f465 | |
parent | 59d3e77945bc069bd84f55a68adc6b3873baa7ac (diff) |
No need to install ant/ios-sim.
-rw-r--r-- | README.md | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -50,13 +50,17 @@ SDK Manager (run `android` on the command line to launch it) 5. `cd` into the project directory and run `cordova prepare` to load up the cordova platforms and plugins we use. -7. Install Apache Ant (`brew install ant`, if you use Homebrew) for Android build support, and `ios-sim` (`npm install -g ios-sim`) for iOS simulator support. +6. Create a new 'Android Virtual Device' for emulating a real device by running +`android avd` and using one of the 'Device Definitions' on the second tab as a +template. It doesn't matter which one, but set the CPU type to 'Atom (x86)' +otherwise it will be very very slow. Enable 'Use Host GPU', if available, to +massively speed up the UI. Ticking 'Hardware keyboard present' will allow you +to use your keyboard instead of hunting-and-pecking the on-screen keyboard. -8. Create a new 'Android Virtual Device' for emulating a real device by running `android avd` and using one of the 'Device Definitions' on the second tab as a template. It doesn't matter which one, but set the CPU type to 'Atom (x86)' otherwise it will be very very slow. Enable 'Use Host GPU', if available, to massively speed up the UI. Ticking 'Hardware keyboard present' will allow you to use your keyboard instead of hunting-and-pecking the on-screen keyboard. +7. Copy `www/js/config.js-example to www/js/config.js` and edit if needed -9. Copy `www/js/config.js-example to www/js/config.js` and edit if needed - -10. To run the project on one of the platforms, use: `cordova emulate ios` or `cordova emulate android` +8. To run the project on one of the platforms, use: `cordova emulate ios` or +`cordova emulate android` Basic structure --------------- |