问题
I installed the device plugin using this command line from my application directory:
plugman install --plugin org.apache.cordova.device --platform wp8 --project .
However when I try and use device this way:
console.log( "device.platform: " + device.platform );
my App crashes with this error:
The thread 0xfc8 has exited with code 259 (0x103).
Please what is wrong with this? Am I missing anything?
来源:https://stackoverflow.com/questions/26386379/cordova-phonegap-application-crashes-when-using-device-plugin-with-windows-phone