This is because the impelementation in main.cpp is like this:
view->setSource(QUrl(QString("%1/qml/main.qml").arg(Cordova::instance()->workingDir())));

and it fails maybe because QUrl constructor...