I've just spend an age tearing down my Play Store quiz games trying to figure out why they crash on Lollipop. No debug information was sent to the debugger so I ended up tearing the game apart until it worked.
The issue appears to be the use of custom fonts.. The font I used was fine on every platform from Kitkat backwards.
Lollipop seems to have a huge issue with this line..
If I remove the custom fonts from the game then it works perfectly but obviously only using the default system font.
If I try other custom fonts some crash the game and some don't. The ones that don't crash simply aren't acknowledged and the default font is substituted.
I have found this thread about the issue but it doesn't seem to have a proper solution.
https://code.google.com/p/android-developer-preview/issues/detail?id=608&thanks=608&ts=1404735239
Does anyone have a way around this? There are hints in the above thread but I am struggling to make then work on my end..
Chris
B4a v4.00
Core v4.01
Phone v2.26
The issue appears to be the use of custom fonts.. The font I used was fine on every platform from Kitkat backwards.
Lollipop seems to have a huge issue with this line..
B4X:
Dim fontMenuButtons As Typeface = Typeface.LoadFromAssets("font.ttf")
If I remove the custom fonts from the game then it works perfectly but obviously only using the default system font.
If I try other custom fonts some crash the game and some don't. The ones that don't crash simply aren't acknowledged and the default font is substituted.
I have found this thread about the issue but it doesn't seem to have a proper solution.
https://code.google.com/p/android-developer-preview/issues/detail?id=608&thanks=608&ts=1404735239
Does anyone have a way around this? There are hints in the above thread but I am struggling to make then work on my end..
Chris
B4a v4.00
Core v4.01
Phone v2.26
Last edited: