每当我尝试添加Kidoz SDK gradle依赖项时,Android应用都会因这些错误而崩溃

Caused by: com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load shared library 'gdx' for target: Linux, 32-bit

Caused by: java.lang.UnsatisfiedLinkError: ... /vendor/lib64, /system/lib64]]] couldn't find "libgdx.so"

我正在Ubuntu 14.04上编译

project_root / build.gradle
    compile 'com.kidoz.sdk:KidozSDK:0.5.9'

如果删除此依赖项,一切运行正常。如果有帮助,我可以提供一个演示项目。

最佳答案

该答案属于LibGDX论坛的Fringale。他/她没有Stackoverflow帐户。

弗林格尔


   natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
   natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
   natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
   natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
   natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"

07-27 21:04