GithubHelp home page GithubHelp logo

quasar-cordova-apk's Introduction

Quasar-Cordova-Apk

Simple guide to create a signed apk from a Quasar app with Cordova.

Technologies

  • Quasar v1
  • Cordova
  • JDK

Run the following commands in the root folder of your app

Install the latest cordova release

npm install -g cordova

Install cordova dependencies in your app

quasar mode add cordova

Change to cordova folder

cd src-cordova

Install Android platform

cordova platform add android

Go back to the root folder

cd..

Build your app

quasar build -m cordova -T android

Change to cordova folder again

cd src-cordova

Build the apk

cordova build android

Run the following commands with a CMD for better compatibility

Change to the apk release folder.

cd "<ROOT-FOLDER>\src-cordova\platforms\android\app\build\outputs\apk\release\"

To create a keystore, you have to run the command below, inform the password and answer all the questions.

JDK 1.8.0_171 is the version installed in my PC.

"C:\Program Files\Java\jdk1.8.0_171\bin\keytool.exe" -genkey -v -keystore MY_KEYSTORE.keystore -alias MY_KEYSTORE -keyalg RSA -keysize 2048 -validity 20000

Finally, run this command, inform the keystore password and the apk will be signed.

"C:\Program Files\Java\jdk1.8.0_171\bin\jarsigner.exe" -tsa http://timestamp.digicert.com -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore MY_KEYSTORE.keystore app-release-unsigned.apk MY_KEYSTORE

Good Job

Your apk is ready to be installed in your device. Enjoy!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.