File not found & dexDebug failed

Had some problem to build a Cordova app in VS. Tried updating java, Android SDK etc..but still same problem (java.lang file not found and dexDebug failed).

Finally I found out that you can’t have a Cordova project inside a path with ‘åäö’ which I had, i.e path to VS project: “C:\Test\Hambörjare\”. When I changed the path to non ‘åäö’ it started to work! =)

I read that this is a reported bug to the Java team at Oracle but I guess it’s not on the their number one todo list..

Cordova – Error initializing Cordova (Class not found)

Arbetat med en app till korkortsteori.se och suttit hela dagen och fäktats med en mobilapp skapad med Phonegap / Cordova.

Uppgraderade Cordova till version 3.6.4 samt plugins’en (datepicker, childbrowser och progressdialog). Men vid start poppar felmeddelandet:

[Error] Error initializing Cordova Class not found, se skärmbild:Error initializing Cordova

Error initializing Cordova

Lösningen på problemet var att lägga till raden: <feature name=”Device”><param name=”android-package” value=”org.apache.cordova.Device”/></feature>
i config.xml (assets/www/res/xml/config.xml).

Det verkar alltså som att den annars inte hittar pluginen “Device”..