Knowledge Management Banner

Knowledge Management Banner

Android : Creating first android App : Part 2

  • Creating first android application using ionic framework.
  • Before proceeding to tis tutorial it is ver necessary that you have set up the development environment as specified in Part 1


Step 1 : Create project : Navigate to directory where you wish to create project and open command prompt, execute following cmd.
  • ionic start AppNameA AppType
There are three app types in ionic framework
  • Tabs App
  • Blank App
  • Side Menu App

Step 2 : Go in the project directory by cmd
  • cd AppName/DirectoryName
Step 3 : Add android platform to your project
  • ionic platform add android
Step 4 : Build your project
  • ionic build android

The output i.e. the apk file will be available in following folder :
   YOUR_PROJECT_DIRECTORY\platforms\android\build\outputs\apk

No comments

Powered by Blogger.