im使用JSON库-导出HTML5时,Android和桌面构建与libgdx配合良好,但出现以下错误,以及如何处理它们。请帮助我。
直接在JSON库文件中给出错误...
[ERROR] Errors in 'file:/D:/Projects/MangoEngine/Code/Libgdx/MangoEngine/src/main/java/json/JSONObject.java'
[ERROR] Line 907: The method isAssignableFrom(Class<capture#5-of ? extends Object>) is undefined for the type Class<E>
[ERROR] Line 114: The method clone() of type JSONObject.Null must override or implement a supertype method
[ERROR] Line 1622: The method getBuffer() is undefined for the type StringWriter
[ERROR] Line 1366: The method getBuffer() is undefined for the type StringWriter
[ERROR] Line 705: The method getFields() is undefined for the type Class<capture#4-of ?>
[ERROR] Line 345: The method currentThread() is undefined for the type Thread
[ERROR] Line 1148: The method getClassLoader() is undefined for the type Class<capture#7-of ?>
[ERROR] Line 1150: The method getMethods() is undefined for the type Class<capture#8-of ?>
[ERROR] Line 1151: The method getDeclaredMethods() is undefined for the type Class<capture#9-of ?>
[ERROR] Line 1736: The method getClassLoader() is undefined for the type Class<capture#13-of ? extends Object>
[ERROR] Line 1731: The method getPackage() is undefined for the type Class<capture#12-of ? extends Object>
[ERROR] Line 310: The method getField(String) is undefined for the type Class<capture#2-of ?>
[ERROR] Errors in 'file:/D:/Projects/MangoEngine/Code/Libgdx/MangoEngine/src/main/java/json/JSONArray.java'
[ERROR] Line 1069: The method getBuffer() is undefined for the type StringWriter
[ERROR] Line 590: The method isAssignableFrom(Class<capture#2-of ? extends Object>) is undefined for the type Class<E>