LIBGDX Box2D在Ios-Moe上亮起

时间:2018-08-04 23:32:28

标签: ios libgdx crash lighting box2dlights

我的问题是自我解释:在LIBGDX的ios-moe版本上可以使用Box2D和Box2D灯光吗?我可以在桌面上运行它,但是在IOS上启动时出现以下错误:

java.lang.UnsatisfiedLinkError: No implementation found for long com.badlogic.gdx.physics.box2d.World.newWorld(float, float, boolean) (tried 

我的build.gradle如下:

project(":ios-moe") {
apply plugin: "moe"

configurations { natives }

dependencies {
    compile project(":core")
    compile "com.badlogicgames.gdx:gdx-backend-moe:$gdxVersion"
    natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
    natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios"
    compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-ios"

}
project(":core") {
apply plugin: "java"


dependencies {
    compile "com.badlogicgames.gdx:gdx:$gdxVersion"
    compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
    compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-ios"
    compile "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion"

}

有什么想法吗?

0 个答案:

没有答案