简体   繁体   English

Phonegap应用程序不适用于android 4.0

[英]Phonegap application not working with android 4.0

I have created a application using Phonegap 2.9.0 .The Build which is running all the android phone version less than 4.0. 我已经使用Phonegap 2.9.0创建了一个应用程序。Build正在运行所有低于4.0的android手机版本。 When i instal in Android 4+ devices it shows blank screen.The same build works fine with ios all versions.Here the index.html 当我的Android 4+的装置安设它显示空白屏幕的屏幕,相同的构建正常工作与IOS所有versions.Here中的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>

Here the explore snap 在这里探索快照

在此处输入图片说明

What change requires to run in android 4.0+ devices.Pelase help me to solve this issue 要在android 4.0+设备上运行需要进行哪些更改。请帮助我解决此问题

Try this 尝试这个

    <!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>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM