I'm doing
phonegap local build wp8
which finishes successfully and creates a CordovaAppProj_Debug_AnyCPU.xap
. When I now try to run this on my Windows Phone device I'm getting a
Error initializing Cordova: Class not found
alert. Same when building from Visual Studio.
I could need some assistance with that, thanks!
I had a similar problem with a Cordova project.
The build of the app was successful:
cordova build wp8
However, the start of the app resulted in the same alert message.
I solved the problem by removing the windows phone 8 platform
cordova platforms rm wp8
and adding it again
cordova platforms add wp8
This might also work for your Phonegap problem.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.