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..