/ela-app

Build a Hybrid App with Cordova and Framework7-vue, support to compile to iOS & Android

Primary LanguageVueApache License 2.0Apache-2.0

ela-app

Build a Hybrid App with Cordova and Framework7-vue, support to compile to iOS & Android

Project prepare

ANDROID_HOME

PATH

Project Start

  • install Cordova
npm i -g cordova
or
yarn add -g cordova
  • Platform add
# you can custom the version with `android@version`
cordova platform add android 
cordova platform add browser
# or cordova platforms add android browser
  • Run the project with live-load
# browser platform
npm run dev
# Android platform
npm run device-dev

Build the App

  • Configure you keystore file

keystore

create a release-signing.properties file under the dir platforms/android/

    storeFile=C:/Users/zifengb/android_keygen.jks(keystore密钥文件保存路径)
    keyAlias=key0(keystore密钥别名,不知道就没办法了……Android Studio构建的密钥的话,可以打开找到!)
    storeType=jks(keystore密钥类型,一般用Android Studio构建密钥可以选定)
    keyPassword=123456(建密钥时候的密码)
    storePassword=123456(存储密钥时的密码)
npm run build