Doing some work on my JFreeType lib. Juts managed to compile my natives successfully on Android (At last…).
Now the problem is that when I do
String path = Gdx.files.internal("Tahoma-Bold.ttf").file().getAbsolutePath();
path is equals to:
"/Tahoma-Bold.ttf"
When running the same code on Windows, I get this path:
"C:\Users\Work\Desktop\libgdx workspace\PlaneSimWorkspace\PlaneSim\android\assets\Tahoma-Bold.ttf"
Does this mean that on Android gdx doesn’t have files available on files system or something? I have no idea how to describe it, but I think you get the point. The path on android should be like:
"/android/apps/MyApp/Assets/Tahoma-Bold.ttf"