O'Reilly logo

NativeScript for Angular Mobile Development by Nathanael J. Anderson, Nathan Walker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The tns platform [add|remove|clean|upgrade] <platform> command

You can use the tns platform [add|remove|clean|upgrade] <platform> command to install, remove, or update the platform modules just like plugins. These are the tns-android and tns-ios modules you see listed in the prior tns info command. The application actually needs these platform-specific modules to be installed. By default, when you perform a tns run, it will automatically install them if they are missing. Occasionally, if the application refuses to build, you can use tns platform clean <platform>, and it will automatically uninstall and then re-install the platform which will reset the build process. 

Note that when you do a tns platform clean/remove/update, these will totally ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required