Ionic: Installation on Windows
- Install latest JDK
- Install Apache Ant
- Install Android Standalone SDK – I’m choosing the latest one(as per today) – installer_r24.4.1.exe
- Install Android SDK Packages
- Tools – choose Android SDK Tools, Android SDK Platform-Tools and Android SDK Build-Tools
- Android x.x – Choose SDK Platform, ARM EARBI v7a System Image
- Extras – Android Support Repository, Android Support Library, Google Repository, Google Play Services
- Install Cordova
npm install -g cordova
- Install Ionic
npm install -g ionic
- Create new ionic project
ionic start todo blank
- Go into project folder & verify project file structure –
cd todo && ls -la
- Add Platform
ionic platform add [ios|android]
- Enable Phone’s Debugging Mode: Open Phone’s Settings > About Phone > Tap Build No few times until Developer options enabled. Go to Settings > Developer options > USB Debugging – turn it on.
- Build App for Platform – Please make sure to connect your phone with laptop via USB before proceed following commands
ionic build [ios|android]
ionic run [emulate ios|android]
- Generate icons and splash screens for all devices and device sizes with a single command.
ionic resources
If having issue with time out(like screen shot below), please refer here