• Runtimes
  • Graddle issue when using Spine, libGDX and Intellij-IDEA

  • Изменено
Related Discussions
...

Hi,

I created a project with libGDX and then following the instructions given in the libGDX runtime readme I imported the Spine runtime as a Module. I cleaned up up the dependancies to get the module to look for the right version of gdx and box2d but I get the following message:

Unsupported Modules Detected: Compilation is not supported for following modules: spine-libgdx. Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project.

Is there a way to fix this and make the spine-libgdx a gradle module?

Thanks

6 месяцев спустя

HI,
Why do not you do spine-runtime libgdx for the gradle as a Overlap2D?
it could be cool >😃

Yeah, I'd like to do that soon. Until then try just putting the spine-libgdx source into a source directory in your project. There's nothing special about the project setup, it's just some Java files (that depend on libgdx of course).