Start by creating a new Android Studio project. This will be the end result.Ĭreating a jar library with Android Studio The jar will serve the basic purpose of displaying a toast notification as soon as the main view of the NativeScript application loads. I will use Android Studio to create a project and export it to a jar and version 1.2 of NativeScript. Because NativeScript is all about bringing you the native user experience right? In this post we will guide you how to create a simple JAR package and embed it into a NativeScript plugin. In the general case you will be able to find already implemented native package for you app, but if you can't find an existing UI for your app you may want to create a custom native component. You can now package native iOS and Android libraries into a single npm package and distribute it as a plugin. With this release the support for NativeScript plugins was enhanced to support native libraries. When a program supports plug-ins, it enables customization. In computing, a plug-in is a software component that adds a particular characteristic to an existing computer program. Plenty of plugins are available and they can be installed easily via Android Studio itself. Couple of days ago was the 1.2 release of NativeScript. Android Studio is the best IDE for android development. In this post I will walk you through the process of creating a jar library which will then be referenced from within a custom NativeScript plugin.