Documentation on capacitor doesn't mention how to remove a platform.
And remove does not exist.
Does capacitor even support removing of a platform? How do I remove my platform without the obvious - manually deleting the folder
Capacitor is an open source native runtime for building Web Native apps. Create cross-platform iOS, Android, and Progressive Web Apps with JavaScript, HTML, and CSS. Get started easily. Install the native platforms you want to target. npm install @capacitor/ios @capacitor/android npx cap add ios npx cap add android
We wrote a free guide on when and why to use Capacitor to build cross-platform apps. Connect web apps to native functionality. Build web-based applications that run equally well across iOS, Android, and as Progressive Web Apps. Access the full Native SDKs on each platform, and easily deploy to the App Stores (and the web).
First, install the @capacitor/android package. Then, add the Android platform. Alternatively, you can open Android Studio and import the android/ directory as an Android Studio project. You can either run your app on the command-line or with Android Studio. To use an Android Emulator you must use an API 24+ system image.
Capacitor is an open source native runtime for building Web Native apps. Create cross-platform iOS, Android, and Progressive Web Apps with JavaScript, HTML, and CSS. Install Capacitor -> Explore Plugins Migrate from Cordova ->
Unlike Cordova, native projects in Capacitor are a source asset instead of a build time asset.
You will have to delete the whole project manually and re add it with npx cap add
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With