Cordova build fails

From time to time I got this message when building the app for android:

* What went wrong:
Execution failed for task ':CordovaLib:packageDebugResources'.
> java.io.IOException: Could not create empty folder C:\Projects\web\sauron\webinterface\.meteor\local\cordova-build\pla
tforms\android\CordovaLib\build\intermediates\bundles\debug\res

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
 FAILED

BUILD FAILED

Total time: 10.382 secs
=> Errors executing Cordova commands:

   While building Cordova app for platform Android:
   Error code 1 for command: cmd with args:
   /s,/c,"C:\Projects\web\sauron\webinterface\.meteor\local\cordova-build\platforms\android\gradlew
   cdvBuildRelease -b
   C:\Projects\web\sauron\webinterface\.meteor\local\cordova-build\platforms\android\build.gradle
   -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"

=> Build Error. Check the logs printed above.

Did you fix this in the end? I’m having a very similar problem right now.

No, it still happens.