@jjaffeux - I spent some time looking into this and ran into the same problem. I meant to post a sample repo, but forgot to do it.
I traced through the code and tracked the problem to this line:
This is the point where the system is trying to load the actual .ttf font file that's included in the .jar, but
inputStream is coming back as null.
getResourceAsStream is a core Java method that you use to load non-code resources within a .jar file (images, text files, etc). The
resourceName value that's passed in is the name of the font file, and if you unpack the jar, you can see the file sitting there at the top of the directory tree. But for some reason,
getResourceAsStream doesn't find it.
I also tried using the jar directly, using
app.vendor_project and got the same results, so it's not specifically a motion-gradle issue. There seems to be something in RubyMotion that causes
getResourceAsStream to not work correctly. android-iconify is a pretty popular repo - I'd be surprised if the problem was on their end.
Is it possible that we need to set the
:resources option in the