Phonegap应用程序无法使用android 4.0

时间:2013-09-18 09:51:04

标签: android cordova sencha-touch-2

我使用Phonegap 2.9.0创建了一个应用程序。运行所有Android手机版本低于4.0的Build。当我安装在Android 4+设备上时,它显示空白屏幕。相同的版本适用于所有版本的ios。在这里 index.html

<!DOCTYPE HTML><html lang=en-US>
<head>
    <meta http-equiv=Cache-control content=no-cache />
    <meta name=format-detection content="telephone=no"/>
    <meta name=apple-mobile-web-app-capable content=yes />
    <title></title>
    <link rel="stylesheet" href="resources/css/sencha-touch.css" />
    <link rel="stylesheet" href="resources/css/app.css" />
    <link href="resources/css/mobiscroll.min.css" rel="stylesheet" type="text/css" />
    <script src="libraries/sencha/sencha-touch-all.js" defer></script>
    <script src="libraries/jquery/jquery.1.10.1.js" defer></script>
    <script src="libraries/mobiscroll/mobiscroll.min.js" type="text/javascript" defer></script>
    <script src="app/views/app.js" defer></script>
    <script src="app/views/JSfunctions.js" defer></script>
    <script type="text/javascript" src="app/views/cordova.js"></script>
</head>
<body>
</body>

这里是探索快照

enter image description here

在android 4.0+ devices.Pelase中运行需要进行哪些更改才能帮助我解决此问题

1 个答案:

答案 0 :(得分:1)

试试这个

    <!DOCTYPE HTML><html lang=en-US>
    <head>
        <meta http-equiv=Cache-control content=no-cache />
        <meta name=format-detection content="telephone=no"/>
        <meta name=apple-mobile-web-app-capable content=yes />
        <title></title>
        <link rel="stylesheet" href="resources/css/sencha-touch.css" />
        <link rel="stylesheet" href="resources/css/app.css" />
        <link href="resources/css/mobiscroll.min.css" rel="stylesheet" type="text/css" />
        <script src="libraries/sencha/sencha-touch-all.js" defer></script>
        <script src="libraries/jquery/jquery.1.10.1.js" defer></script>
        <script src="libraries/mobiscroll/mobiscroll.min.js" type="text/javascript" defer></script>
        <script type="text/javascript" src="app/views/cordova.js"></script>
        <script src="app/views/app.js" defer></script>
        <script src="app/views/JSfunctions.js" defer></script>

    </head>
    <body>
    </body>