Jump to content

Kabum42

Members
  • Posts

    3
  • Joined

  • Last visited

Kabum42's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Okay guys, I've discovered what was the problem, I tried to pack all the classes from the library into a one single .jar for convenience and strangely that worked in the Desktop but not in Android, so yeah... if you want to use it in Android don't try this and just copy / paste the .java classes into your project.
  2. I'd really like to have a good logcat to look at but i've tried debugging the android version before and it just never works, it throws a lot of errors without much sense while working fine on a real device (I'm talking about situations in which I'm not using this library). I thought it could be some problem on my project so I tried to build a new one with gradle from scratch, copy / paste the relevant code from the SpriterTests\src\com\brashmonkey\spriter\tests\backend\LibGdxTest.java into my main class in the core project and when I run it from the DesktopLauncher it works fine, when I export the .apk and try to run it from my phone it just crashes. And the problem still lies within the SCMLReader instantation, but I have no idea what could be causing the crashing. PS : If somebody has a simple project test which runs fine on Android it would be super useful to have a look at the code to spot where lies the problem.
  3. Hi guys, we're making an android game and we had no problems running our tests using this library on our DesktopLauncher but it crashes when we try it from our .apk All the resources are synchronized and I've made a lot of trials and errors until I'm certain the error comes from this line of code : SCMLReader scml = new SCMLReader(handle.read()); The problem is not the handle because when I recover handle.exists() in Android it says "true", but just when I add this line of code it crashes. Do you know what could be the cause?
×
×
  • Create New...