我的外部链接无法使用内置的Cordova Android

时间:2017-12-14 01:13:38

标签: cordova apk angular-ui-bootstrap

我正在开发一个带有cordova phonegap的Android应用程序,并在我的文件中包含了Bootstrap和jQuery,但在构建应用程序并安装到我的设备后,它只显示了一个简单的索引。

看起来像我使用的Bootstrap和jQuery的HTML页面不起作用,我甚至无法导航到任何其他页面,因为第一页上的按钮不起作用,请问我该怎么办?这使我的Bootstrap和jQuery与fontawesome等其他外部链接一起工作。

这是我的config.xml文件:

<?xml version='1.0' encoding='utf-8'?>
<widget id="com.hp.portal" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name> Student portal</name>
    <description>
        A sample Student Portal App
    </description>
    <author email="suzanejura@gmail.com" href="http://cordova.io">
       Suzan Ejura
    </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:*" />
    <platform name="android">
        <allow-intent href="market:*" />
    </platform>
    <platform name="ios">
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
    </platform>
    <engine name="android" spec="6.3.0" />
    <plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
</widget>

0 个答案:

没有答案