Skip to content Skip to sidebar Skip to footer

Libgdx: More Than One File Was Found With Os Independent Path 'libgdx-freetype.dylib'

Hello fellow Programmers, I’m having trouble building my libgdx Game for Android with freetype font dependencies. Libgdx version: 1.9.8 Gradle version: 3.2.0 Android Studio versi

Solution 1:

I had the same error as you.

In my gradle.build file I had this added under my core dependencies :

implementation "com.badlogicgames.gdx:gdx-tools:$gdxVersion"

I added this to make a texture packer for my game, and I suppose some of the libraries are creating the error when running the program.

just comment it out (I'm using implementation instead of compile because it's depreciated)

//implementation "com.badlogicgames.gdx:gdx-tools:$gdxVersion"

Post a Comment for "Libgdx: More Than One File Was Found With Os Independent Path 'libgdx-freetype.dylib'"