离子1 app在启动画面后显示白色屏幕

时间:2017-05-20 11:33:00

标签: cordova ionic-framework hybrid-mobile-app

我完全完成了我的应用。但是当我尝试检查我的设备时它很好。但我的客户希望我发送apk build进行检查。我已经使用这个命令发送给他sudo cordova build android然后我把apk和我发送给我的客户端。但是在闪屏之后 - 即将到来的白色屏幕。

但是在我的设备中它的工作正常。我的index.html

!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <title></title>

    <!-- compiled css output -->
    <link href="css/ionic.app.css" rel="stylesheet">

    <!-- userdefined css -->
    <link href="css/style.css" rel="stylesheet">
    <link href="css/menu.css" rel="stylesheet">
    <link href="css/tab.css" rel="stylesheet">

    <link href="lib/ionic/fonts/ArconRegular.css" rel="stylesheet">
    <!-- <link href="lib/ionic/css/ionic.min.css" rel="stylesheet"> -->

    <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
    <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>

    <!-- ionic/angularjs js -->
    <script src="lib/ionic/js/ionic.bundle.js"></script>

    <!-- cordova script (this will be a 404 during development) -->
    <script src="cordova.js"></script>
<link data-require="bootstrap-css@3.2.0" data-semver="3.2.0" rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" />

    <script>document.write('<base href="' + document.location + '" />');</script>

    <script data-require="google-maps@1.0.0" data-semver="1.0.0" src="http://maps.google.com/maps/api/js?sensor=false"></script>

    <script data-require="angular.js@1.2.x" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.17/angular.min.js" data-semver="1.2.17"></script>

    <script data-require="lodash-underscore@*" data-semver="2.4.1" src="https://rawgit.com/lodash/lodash/2.4.1/dist/lodash.underscore.min.js"></script>

    <script data-require="angular-google-maps@*" data-semver="1.1.4" src="https://rawgit.com/nlaplante/angular-google-maps/1.1.4/dist/angular-google-maps.min.js"></script>



    <script src="ionic-ion-autoListDivider.js"></script>
    <script src="js/app.js"></script>
    <script src="js/controllers.js"></script>
    <script src="js/routes.js"></script>
    <script src="js/ionic-drawer.js"></script> 

    <script src="js/factories.js"></script>
    <script src="js/directives.js"></script>
    <script src="js/services.js"></script>


    <!-- Chance.js is only used to generate random data -->  
    <script src="lib/chance/chance.js"></script>
    <script src="lib/angular-resource/angular-resource.js"></script>

    <!-- For AutoComplete box -->
    <script src="lib/ion-autocomplete/dist/ion-autocomplete.js"></script>
    <link href="lib/ion-autocomplete/dist/ion-autocomplete.css" rel="stylesheet">
    <script src="lib/autocomplete/autocomplete.directive.js"></script>


  </head>
  <body ng-app="CRM">
    <ion-nav-view></ion-nav-view>
  </body>
</html>

我在config.xml添加了这个谎言:

<preference name="LoadUrlTimeoutValue" value="70000" />

我正在使用ASUS。但是我的客户在redmi 3, moto,nexus

中进行了测试

请帮帮我。为什么它在我的设备中工作。但不能在我的客户端测试设备上工作??

提前致谢!

0 个答案:

没有答案