小编toc*_*gua的帖子

我如何让我的 ionic 应用程序以 API 级别 28 及以上为目标

从今天开始,我一直在尝试上传我的 ionic 应用程序,发现谷歌将他们的应用程序规则更改为目标 API 级别 28 及以上,我的目标是 27,以便留下来。

我得到的所有帮助都没有为我工作。尝试 7 后,我已将我的 codova android 升级到 8.0.0,我在 config.xml 中添加了这一行 "" 仍然没有用。请帮忙

我的 config.xml

<widget id="xxx" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>xxx</name>
    <description>xxx</description>
    <author email="evensatowind@gmail.com" href="http://github.com/satowind">Sato Wind</author>
    <content src="index.html" />
    <access origin="*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
    <allow-intent href="tel:*" />
    <allow-intent href="sms:*" />
    <allow-intent href="mailto:*" />
    <allow-intent href="geo:*" />
    <preference name="android-targetSdkVersion" value="28" />
    <preference name="ScrollEnabled" value="false" />
    <preference name="android-minSdkVersion" value="19" />
    <preference name="BackupWebStorage" value="none" />
    <preference name="SplashMaintainAspectRatio" value="true" />
    <preference name="FadeSplashScreenDuration" value="500" /> …
Run Code Online (Sandbox Code Playgroud)

android android-studio ionic3 angular

10
推荐指数
3
解决办法
1万
查看次数

如何在离子中解决这个错误`你必须为代理类型`指定一个"协议"

我在我的ionic系列sidetabs中运行了一系列Windows错误

在此输入图像描述

TypeError: You must specify a "protocol" for the proxy type (http, https, socks, socks4, socks4a, socks5, socks5h, pac+data, pac+file, pac+ftp, pac+http, pac+https)
    at new ProxyAgent (C:\Users\sato\AppData\Roaming\npm\node_modules\@ionic\cli-plugin-proxy\node_modules\proxy-agent\index.js:97:11)
    at ProxyAgent (C:\Users\sato\AppData\Roaming\npm\node_modules\@ionic\cli-plugin-proxy\node_modules\proxy-agent\index.js:81:45)
    at Request.proxy (C:\Users\sato\AppData\Roaming\npm\node_modules\@ionic\cli-plugin-proxy\node_modules\superagent-proxy\index.js:71:15)
    at C:\Users\sato\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\cli-utils\lib\http.js:31:17
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\sato\AppData\Roaming\npm\node_modules\ionic\node_modules\tslib\tslib.js:102:62)
    at <anonymous>
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个问题?

ionic-framework

0
推荐指数
1
解决办法
2424
查看次数