Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove ionic android platform

I am trying to remove android platform from my ionic project using 'ionic platform remove android' but it showing the error, Platform "android" not recognised as a core cordova platform. What i do?

like image 769
Arun Ravindran Avatar asked Dec 06 '17 05:12

Arun Ravindran


People also ask

How to build an ionic application on Cordova Android platform?

Steps to create and build an Ionic Application on Cordova Android Platform 1 Node Setup. 2 Cordova Setup. 3 Create an Ionic Application. 4 Publishing your app. This command directly adds the default ionic icons and splash screen resources and provide friendly... More ...

How to publish an ionic application to the App Store?

To publish the ionic application to the app store, firstly we have to add android platform to the application using the following CLI command: This command directly adds the default ionic icons and splash screen resources and provide friendly checks. To remove the android platform just replace the add keyword with remove.

What is the ionic platform?

Ionic is a platform for building mobile experiences with the web. Ionic is primarily known for its open source mobile SDK. The Ionic SDK allows web developers to build native iOS and Android applications, and mobile-ready Progressive Web Apps, using familiar web tools, frameworks, and languages.

What is the ionic SDK?

The Ionic SDK allows web developers to build native iOS and Android applications, and mobile-ready Progressive Web Apps, using familiar web tools, frameworks, and languages. The core of Ionic SDK is Capacitor, a cross-platform native bridge that allows you to turn any web project into a native iOS or Android mobile application.


2 Answers

What version of ionic are you using?

if you're using the latest version,

try ionic cordova platform remove android

like image 92
Gowtham Avatar answered Sep 28 '22 01:09

Gowtham


  1. Add Android Platform

ionic cordova platform add android

  1. Remove Android Platform

ionic cordova platform rm android

  1. Add IOS Platform

ionic cordova platform add ios

  1. Remove IOS Platform

ionic cordova platform rm ios

  1. Clean Project Build

cordova clean

like image 41
Akash Kumar Avatar answered Sep 28 '22 02:09

Akash Kumar