Couldn't Find Type For Class 'com.badlogic.gdx.maps.objects.rectanglemapobject'
Ok, so I made a simple game in libgdx (Android Studio). It works on desktop as well as on Android but in html throws this error : Uncaught Error: java.lang.RuntimeException: java.
Solution 1:
Reflection on gwt requires some massaging to work
https://github.com/libgdx/libgdx/wiki/Reflection#gwt
Add this to your GdxDefinition.gwt.xml
:
<extend-configuration-propertyname="gdx.reflect.include"value="com.badlogic.gdx.maps.objects.RectangleMapObject" />
Post a Comment for "Couldn't Find Type For Class 'com.badlogic.gdx.maps.objects.rectanglemapobject'"