2
我创建的PhoneGap应用程序在最初安装时工作正常,但第二次加载时会出现错误。错误是“发生未知错误,错误80020101.” 尝试调用nativeReady时发生错误。科尔多瓦/ Phonegap应用程序只打破WP8
我知道这个错误是在IE中经常遇到的(这只发生在WP8中,而不是在任何其他移动操作系统中),并且意味着存在语法错误。所以我需要知道这是什么原因造成的。我试过用标记和动态加载脚本,但都没有工作。
控制台日志第一次启动:
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.ni.dll
A first chance exception of type 'System.IO.IsolatedStorage.IsolatedStorageException' occurred in mscorlib.ni.dll
Updating IsolatedStorage for APP:DeviceID :: ea767f9b-c9d2-441d-9d41-9e7f92ddbde0
ScriptNotify :: Installed console!
About to load cordova
Detected Cordova
CordovaBrowser_LoadCompleted
About to load cordova
Detected Cordova
日志中的第二个启动:
ScriptNotify :: Installed console!
CordovaBrowser_LoadCompleted
About to load cordova
A first chance exception of type 'System.SystemException' occurred in Microsoft.Phone.Interop.ni.dll
Error calling js to fire nativeReady event. Did you include cordova.js in your html script tag?
任何帮助,将不胜感激。
我有完全一样的问题,不知道是什么原因造成的问题 - 你得到任何进一步的? –
嗨user2564511,你是怎么解决这个问题的? – Amrendra
我真的不记得了。可能有些愚蠢。 – user2564511