Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70863

How install Android Platform

$
0
0

@artotal wrote:

Hi,
I try to add a platform: ionic build android
It doesn't work?

firstIonicApp  ionic build android
 Using this version of Cordova with older version of cordova-android is being deprecated. Consider upgrading to cordova-android@5.0.0 or newer.
Error: The provided path "/Applications/MAMP/htdocs/labs/ionic/ionic-pluralsight/firstIonicApp/platforms/android" is not an Android project.
 ⚙ ✝  /Applications/MAMP/htdocs/labs/ionic/ionic-pluralsight/firstIonicApp  ionic platforms add android
Updated the hooks directory to have execute permissions
Downloading Default Ionic Resources
Downloading: https://github.com/driftyco/ionic-default-resources/archive/master.zip
[========]  100%  0.0s
Done adding default Ionic resources
Adding icons for platform: android
Adding android project...
Creating Cordova project for the Android platform:
	Path: platforms/android
	Package: com.ionicframework.firstionicapp173289
	Name: firstIonicApp
	Activity: MainActivity
	Android target: android-23
Android project created with cordova-android@5.1.1
Installing "cordova-plugin-console" for android
Installing "cordova-plugin-device" for android
Installing "cordova-plugin-splashscreen" for android
Installing "cordova-plugin-statusbar" for android
Installing "cordova-plugin-whitelist" for android

               This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.

Installing "ionic-plugin-keyboard" for android
Running command: /Applications/MAMP/htdocs/labs/ionic/ionic-pluralsight/firstIonicApp/hooks/after_prepare/010_add_platform_class.js /Applications/MAMP/htdocs/labs/ionic/ionic-pluralsight/firstIonicApp
add to body class: platform-android
Saving platform to package.json file
 ⚙ ✝  /Applications/MAMP/htdocs/labs/ionic/ionic-pluralsight/firstIoni

Thanks

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70863

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>