I created an application with the create.bat on windows and compiled it with ADT and the latest SDK.
It launches and displays the cordova display but it doesnt fire the deviceready event as it keeps saying “connecting to device”. The same applies for the emulator. It works when I change the OS to 4.0 for the emulator though.
Is this normal because 4.2 has just been released and I have to wait for an update ?
It’s 1 am and I finally have my app running again. Android 4.2 includes some apparently security related changes to webView.addJavascriptInterface, which stops the default bridge mode from working.
I expect there will be a better fix in the next version, but if you need a quick fix, try this update to CordovaWebView.exposeJsInterface