Ioinic APP打包

APP配置

应用信息config.xml

<?xml version='1.0' encoding='utf-8'?>
<widget 
    id="com.chltec.cordovademoe" 
    version="0.0.1" 
    xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>CordovaDemoe</name>
    <description>An awesome Ionic/Cordova app.</description>
    <author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author>
    <content src="index.html" />

id为包名
version为版本号
name为应用名称
description应用描述

iconsplashscreen

替换resources/icon.pngresources/splash.png

ionic cordova resources

Android打包

添加平台cordova platform add android
deug打包

#debug
ionic cordova build android

release打包
release打包前添加如下签名配置文件

签名配置文件

#release
ionic cordova build android --prod --release

IOS打包

在xcode中打开项目打包

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容