1

我使用Phonegap 2.9.0 创建了一个应用程序。运行所有低于4.0 的android 手机版本的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>

这里是探索快照

在此处输入图像描述

在 android 4.0+ 设备中运行需要什么更改。请帮我解决这个问题

4

1 回答 1

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>
于 2013-09-18T10:12:20.927 回答