I am trying to develop an application in libGDX for iOS.
In my Java class I have written this line
private Texture texture = new Texture(Gdx.files.in
I also suffer this problem,I seemingly solve it. That is:I get GDX project from excuting gdx-setup.jar,and obtain all so files in lib directroy. that's all!
You've got the error right in front of you...
<directory>../android/assets</directory>
the resource you are looking for is NOT in the "data" folder. It's in the "Assets" which is in the android project.
Also when loading textures you don't need to use a FileHandler.. This would be enough:
texture = new Texture("image.png");
which would be the root (assets) folder of the android project
I had the same issue. I have cleaned and rebuild the project, and after that it works fine for me.