Failed to compile libgdx project in html.
Looking at the log, I think the problem is:
Copying resources from ../android/assets to war/ C:\TomsProjects\MeshExplorerV2\html\..\android\assets C:\TomsProjects\MeshExplorerV2\html\assets [ERROR] Generator 'com.badlogic.gdx.backends.gwt.preloader.PreloaderBundleGenerator' threw an exception while rebinding 'com.badlogic.gdx.backends.gwt.preloader.PreloaderBundle' java.lang.RuntimeException: Couldn't clean target path 'war\assets'
Now it seems a little strange to me in the second line; Since there was no html \ assets folder. The assets folder was in html \ war \ assets, as in the last line.
However, by creating an empty resource folder in html and manually deleting the contents of html \ war \ assets, I still get the same error.
Theres also a "html \ webapp" directory without any resource folder. Not sure what it should be.
I tried to clean / restore from the eclipse, and also by accident and try Gradle -> Update All.
In addition, the Java version works fine.
Any pointers, thanks :)
source share