简体   繁体   English

jQuery Mobile + angularjs + phonegap android脚本错误

[英]jQuery mobile + angularjs + phonegap android script errors

I am creating a phonegap application which is using jQuery mobile and angularjs. 我正在创建一个使用jQuery mobile和angularjs的phonegap应用程序。

I downloaded latest version of both frameworks. 我下载了两个框架的最新版本。 When I run application on android jelly bean machine I am getting whole bunch of errors, finally application does not show any output. 当我在android jelly bean机器上运行应用程序时,出现了很多错误,最终应用程序未显示任何输出。

If I try to run same application (with commenting out cordova js) on desktop chrome or IE totally works fine there is no single problem. 如果我尝试在桌面chrome或IE上运行相同的应用程序(注释掉cordova js)完全正常,则不会有任何问题。

I have set up like this; 我已经这样建立了;

在此处输入图片说明

and I am getting the following errors; 我收到以下错误;

在此处输入图片说明

Is there any ideas why is this happening? 有什么想法为什么会这样?

What's the version of Angular JS you are using? 您使用的Angular JS是什么版本? It's a known issue . 这是一个已知问题。 You can find the details here https://github.com/angular/angular.js/issues/4776 . 您可以在这里https://github.com/angular/angular.js/issues/4776找到详细信息。 SO also has a somewhat same link Anchor element's pathname returns undefined in Rhino with env.js . SO也有一些相同的链接Anchor元素的路径名在env.js中未定义在Rhino中 Just see this. 看看这个。 Hope u will get some help from there. 希望你能从那里得到一些帮助。

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

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