jingcai-seller/README.md

2.9 KiB
Raw Permalink Blame History

Jingcai Seller (jingcai-seller)

Jingcai Seller

Install the dependencies

建议使用npm ci安装

yarn
# or
npm install

Start the app in development mode (hot-code reloading, error reporting, etc.)

quasar dev

Lint the files

yarn lint
# or
npm run lint

Format the files

yarn format
# or
npm run format

Build the app for production

# h5
quasar build

# android 打包转移到jingcai-shopkeeper-app中此项目为打包web应用+jingcai-shopkeeper-app中嵌入的web app
quasar build -m android
quasar build -m android --skip-pkg
# ios
quasar build -m ios -ide

Customize the configuration

See Configuring quasar.config.js.

签名

"D:\Program Files\Java\jdk1.8.0_202\bin\keytool.exe" -importkeystore -srckeystore buyer.yunduoxd.keystore -destkeystore seller.yunduoxd.keystore -deststoretype pkcs12 签名详细信息: 目标密钥库口令入源密钥库口令yunduoxd

ios ipa

p12 password:yunduoxd verify:yunduoxd

应用图标

icongenie generate -p res/

iOS打包

这几个信息目前后端已处理,这里可以随便填写

build

quasar build -m android -d开启调试模式可以在logcat中看到更详细的日志 按照src-cordova/build.json配置的构建已经配置为apk

构建apk

quasar build -m android -- -- --packageType=apk

安装apk

adb install ./dist/cordova/android/apk/release/app-release.apk

默认构建aab

quasar build -m android -- -- --packageType=bundle

aab to apk

https://stackoverflow.com/questions/53040047/generate-apk-file-from-aab-file-android-app-bundle

For Debug apk command,

bundletool build-apks --bundle=/MyApp/my_app.aab --output=/MyApp/my_app.apks

// --mode=universal 不签名调试时可带上这个参数

For Release apk command,

bundletool build-apks --bundle=/MyApp/my_app.aab --output=/MyApp/my_app.apks --ks=/MyApp/keystore.jks --ks-pass=file:/MyApp/keystore.pwd --ks-key-alias=MyKeyAlias --key-pass=file:/MyApp/key.pwd

apks解压unzip后就是apk


java -jar "bundletool.jar" build-apks --bundle=./dist/cordova/android/bundle/release/app-release.aab --output=./my_app.apks --ks=/MyApp/keystore.jks --ks-pass=file:/MyApp/keystore.pwd --ks-key-alias=MyKeyAlias --key-pass=file:/MyApp/key.pwd

安装apks

java -jar "bundletool.jar" install-apks --apks=my_app.apks

adb install ./dist/cordova/android/apk/release/app-release.apk