Bootstrap

ionic 问题记录

1.ionic ios 端长按文字复制时,英文改为中文
xcode,.plist文件,修改参数localization native development region的值改成China

2.config.xml
在这里插入图片描述
3.alipay

下载最新支付宝支付SDK

在这里插入图片描述
替换项目目录下plugins下AlipaySDK
在这里插入图片描述

4.打包时添加android平台报错:Failed to fetch platform andriod
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: npm: Command failed with exit code 1 Error output:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.com/andriod - Not found
npm ERR! 404
npm ERR! 404 ‘andriod@latest’ is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
在这里插入图片描述

后来发现是我打包时命令打错了(我把android拼写成了andriod😭)ionic cordova build andriod --prod --release

;