Trying to deploy my first libgdx game on the web and ran the command
./gradlew html:dist in the android studio terminal but I keep getting the following error
[ERROR] Line 51: No source code is available for type org.json.simple.parser.JSONParser; did you forget to inherit a required module?
[ERROR] Line 54: No source code is available for type org.json.simple.JSONObject; did you forget to inherit a required module?
[ERROR] Line 58: No source code is available for type org.json.simple.JSONArray; did you forget to inherit a required module? [ERROR] Aborting compile due to errors in some input files :html:compileGwt FAILED
After looking online, I've tried resolving this issue by including this line
<inherits name="com.google.gwt.json.JSON" />
in MyGdxGame.gwt.xml file, an idea which I got from here. But that doesn't seem to have resolved the issue. Any other ideas? This is what my file looks like
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit trunk//EN"
"http://google-web-toolkit.googlecode.com/svn/trunk/distro-source/core/src/gwt-module.dtd">
<module>
<source path="com/mygdx/fierykirby/gamedev" />
<inherits name="com.google.gwt.json.JSON" />
<inherits name="com.google.gwt.http.HTTP" />
</module>
HTTPfirst andJSONat the last? I remember this one just because of the order issue! - N00b Pr0grammer