Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with NativeScript

You're reading from   Getting Started with NativeScript Explore the possibility of building truly native, cross-platform mobile applications using your JavaScript skill—NativeScript!

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher
ISBN-13 9781785888656
Length 168 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Nathanael J. Anderson Nathanael J. Anderson
Author Profile Icon Nathanael J. Anderson
Nathanael J. Anderson
Arrow right icon
View More author details
Toc

Publishing your application


On Android, you need to build the application using nativescript build android --release --key-store-path=<yourfile> --key-store-password=<your password> --key-store-alias=<alias> --key-store-alias-password=<password>. This will build you a release version of your APK. The APK's location is going to be in your applications/platforms/Android/build/outputs/APKs. Make sure you do not take your debug package, as it will be rejected by all the app stores. You need a key to sign your application so that Google (and others) knows that this application is from you and only from you.

Note

To create a keystore, you can use the keytool program that comes with the Android SDK. The keytool program allows you to create, edit, and delete keys inside the store file. However, there is a cross-platform open source project at http://keystore-explorer.sourceforge.net/, which is a graphic user interface to edit and create your keystore.

Once you have built your...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime