Я хочу добавить addmob в мое мобильное приложение cordova, но плагин addmob вызывает, к сожалению, приложение прекратило ошибку. Я изменил cordova cli на последнюю версию, но все еще какая-то ошибка
, вот моя конфигурация. xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- config.xml reference: https://build.phonegap.com/docs/config-xml -->
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "com.hybridsoftware.okeyMuhabbet"
version = "5.0"
versionCode = "12" >
<name>Okey Muhabbet</name>
<description>
x
</description>
<author href="hybridsoftware.net" email="info@hybridSoftware.net">
Okey Muhabbet
</author>
<preference name="permissions" value="none"/>
<preference name="phonegap-version" value="cli-7.1.0" />
<preference name="orientation" value="portrait" />
<preference name="target-device" value="universal" />
<preference name="fullscreen" value="true" />
<preference name="webviewbounce" value="true" />
<preference name="prerendered-icon" value="true" />
<preference name="stay-in-webview" value="false" />
<preference name="ios-statusbarstyle" value="black-opaque" />
<preference name="detect-data-types" value="true" />
<preference name="exit-on-suspend" value="false" />
<preference name="show-splash-screen-spinner" value="true" />
<preference name="auto-hide-splash-screen" value="true" />
<preference name="disable-cursor" value="false" />
<preference name="android-minSdkVersion" value="19" />
<preference name="android-targetSdkVersion" value="28"/>
<preference name="android-installLocation" value="auto" />
<preference name="DisallowOverscroll" value="true" />
<gap:plugin name="cordova-plugin-admob-simple" source="npm"/>
<gap:plugin name="cordova-admob-sdklibs" source="npm"/>
<access origin="*"/> <!-- allow all pages -->
<plugin name="cordova-plugin-whitelist" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<platform name="android">
<allow-intent href="market:*" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
</platform>
<icon src="icon.png" />
<icon src="icon-60@2x.png" gap:platform="ios" width="120" height="120" />
<icon src="icon-40.png" gap:platform="ios" width="40" height="40" />
<icon src="icon-76.png" gap:platform="ios" width="76" height="76" />
<icon src="icon-72.png" gap:platform="ios" width="72" height="72" />
<icon src="icon-76@2x.png" gap:platform="ios" width="152" height="152" />
<gap:splash src="splash.png" />
<gap:splash src="Default-568h@2x.png" platform="ios" width="640" height="1136" />
<gap:splash src="Default-568h.png" platform="ios" width="320" height="568" />
<allow-navigation href="*" />
</widget>