2012-06-21 35 views
0

我正在使用cordova 1.7.0。我的应用程序运行良好的模拟器,但消息的到来犹如cordova 1.7.0设置信息错误

Error: executing module function 'setInfo' in module 'cordova/plugin/ios/device'. Have you included the iOS version of the cordova-1.7.0.js file? 

我已经包括

<script type="text/javascript" charset="utf8" src="[location of cordova.ios(for ios)]"></script> 

index.html中,但没有work.Plz帮助。

回答

1

js的路径必定有问题。 index.html文件被读取? 您的www文件夹可能是一组而不是reference folder

转到step by step

+0

我已经在引用文件夹,现在它工作正常进行的错误 –

0

这当加载页面时的科尔多瓦文件无法正常使用一般发生。您可以通过在Chrome中打开index.html(或您的开始页面)来检查它是否正确引用,并检查检查元素是否已加载所有资源并且没有错误。

0

来解决这个问题,只要按照步骤图片You need to check this again