libGDX project can't load library liblwjgl.dylib

后端 未结 2 1701
心在旅途
心在旅途 2021-02-13 22:05

A new libGDX project can\'t load the library liblwjgl.dylib when running the desktop project.

Exception in thread \"main\" java.lang.UnsatisfiedLinkError: Can\'t         


        
2条回答
  •  渐次进展
    2021-02-13 22:48

    I believe this is a compatibility issue between Java 7 and LWJGL. For some reason, this also only affects OS X, as it works just fine on both my Windows and Ubuntu machines, but not my Mac. Your options to work with until the problem is fixed:

    • Debug on Android / Robovm
    • Code on another machine until the problem is fixed

    Considering you can use an Android emulator, I think Android testing is the best option.

提交回复
热议问题