sudo npm install -g n
sudo npm cache clean -f
sudo n 4.3.1
node -v
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo add-apt-repository ppa:didrocks/ubuntu-developer-tools-center
sudo apt-get update
sudo apt-get install ubuntu-developer-tools-center
https://launchpadlibrarian.net/194227238/android.py.patch
udtc android
export ANDROID_HOME=/home/webonise/Android/Sdk
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
npm install -g cordova ionic gulp
ionic start myApp tabs
Your Ionic project is ready to go! Some quick tips:
-
cd into your project: $ cd myApp
-
Setup this project to use Sass: ionic setup sass
-
Develop in the browser with live reload: ionic serve
-
Add a platform (ios or Android): ionic platform add ios [android] Note: iOS development requires OS X currently See the Android Platform Guide for full Android installation instructions: https://cordova.apache.org/docs/en/edge/guide_platforms_android_index.md.html
-
Build your app: ionic build
-
Simulate your app: ionic emulate
-
Run your app on a device: ionic run
-
Package an app using Ionic package service: ionic package
For more help use ionic --help or ionic docs
Visit the Ionic docs: http://ionicframework.com/docs
New! Add push notifications to your Ionic app with Ionic Push (alpha)! https://apps.ionic.io/signup
-
New Ionic Updates for February 2016
-
The View App just landed. Preview your apps on any device http://view.ionic.io
-
Invite anyone to preview and test your app ionic share EMAIL
-
Generate splash screens and icons with ionic resource http://ionicframework.com/blog/automating-icons-and-splash-screens/
cd myApp
ionic platform add android
ionic build android
ionic emulate android
place where apk are stored on build
/[path to app]/myApp/platforms/android/build/outputs/apk/android-debug.apk
[http://ionicframework.com/docs/cli/sass.html]
[http://ionicframework.com/docs/guide/]
[http://ionicframework.com/docs/]
sudo add-apt-repository ppa:webupd8team/java && sudo apt-get update && sudo apt-get install oracle-java8-installer && sudo add-apt-repository ppa:didrocks/ubuntu-developer-tools-center && sudo apt-get update && sudo apt-get install ubuntu-developer-tools-center && udtc android