启动画面后,Phonegap Android 4.4应用程序停止

时间:2019-02-02 10:24:51

标签: cordova cordova-plugins phonegap-plugins phonegap-build phonegap

我有一个Phonegap Build App,它可以在iOS和Android(Android版本> 6.0)上完美运行

当我将其安装在具有Android 4.4或Android 5.0的Android设备上时,启动屏幕后只有白色页面,并且控制台中没有错误日志。

这似乎很奇怪,因为我有android-minSdkVersion 14,因此它应该支持Android 4.4和5.0。

这是来自config.xml的我的应用程序配置以及我使用的所有插件。非常感谢您的帮助!

<preference name="android-build-tool" value="gradle" />
<preference name='phonegap-version' value='cli-7.1.0' />
<preference name='pgb-builder-version' value='2' />

<preference name="android-minSdkVersion" value="14" />
<preference name="android-targetSdkVersion" value="19" />

<preference name="SplashScreenDelay" value="3000" />
<preference name="AutoHideSplashScreen" value="true" />

<plugin name="phonegap-plugin-push" spec="~2.0.0" source="npm" />
<plugin name="cordova-plugin-media" spec="~5.0.2" source="npm" />
<plugin name="cordova-unique-device-id" spec="~1.3.2" source="npm" />
<plugin name="cordova-plugin-whitelist" spec="~1.2.0" />
<plugin name="cordova-plugin-statusbar" spec="~1.0.1" />
<plugin name="cordova-plugin-vibration" spec="~3.1.0" />
<plugin name="cordova-plugin-splashscreen" spec="~5.0.2" />
<plugin name="cordova-plugin-battery-status" spec="~2.0.2" />
<plugin name="cordova-plugin-device" spec="~2.0.2" />
<plugin name="cordova-plugin-device-name" spec="~1.3.4" source="npm" />
<plugin name="cordova-plugin-device-motion" spec="~2.0.1" />
<plugin name="cordova-plugin-device-orientation" spec="~2.0.1" />
<plugin name="cordova-plugin-globalization" spec="~1.11.0" />
<plugin name="cordova-plugin-inappbrowser" spec="~3.0.0" />
<plugin name="cordova-plugin-network-information" spec="~2.0.1" />
<plugin name="cordova-clipboard" spec="~1.2.1" source="npm" />
<plugin name="cordova-plugin-buildinfo" spec="~2.0.2" source="npm" />
<plugin name="cordova-plugin-screen-orientation" spec="~3.0.1" source="npm" />
<plugin name="phonegap-plugin-contentsync" spec="~1.4.2" source="npm" />
<plugin name="cordova-plugin-geolocation" spec="~4.0.1" source="npm" />
<plugin name="cordova-plugin-shake" spec="~0.6.0" source="npm" />
<plugin name="cordova-plugin-x-socialsharing" spec="~5.4.3" source="npm" />
<plugin name="cordova-plugin-google-analytics" spec="~1.8.6" source="npm" />
<plugin name="uk.co.workingedge.phonegap.plugin.launchnavigator" spec="~4.2.2" source="npm" />
<plugin name="cordova-plugin-x-toast" spec="~2.7.2" source="npm" />
<plugin name="cordova-plugin-customurlscheme" spec="~4.3.0" source="npm">
    <param name="URL_SCHEME" value="urltest" />
</plugin>
<plugin name="cordova-open-native-settings" spec="~1.5.2" source="npm" />
<plugin name="cordova-plugin-appavailability" spec="~0.4.2" source="npm" />
<plugin name="cordova-plugin-console" spec="~1.1.0" source="npm" />

0 个答案:

没有答案