calligraphy library works fine with dexguard-debug.pro
but i get following error with dexguard-release.pro and the fonts dont apply showing default fonts
: Can't create asset from fonts/Gotham/Gotham-Bold.otf. Make sure you have passed in the correct path and file name.
java.lang.RuntimeException: Font asset not found fonts/Gotham/Gotham-Bold.otf
at android.graphics.Typeface.createFromAsset(Typeface.java:310)
at uk.co.chrisjenx.calligraphy.TypefaceUtils.load(:35)
at uk.co.chrisjenx.calligraphy.CalligraphyUtils.applyFontToTextView(:114)
at uk.co.chrisjenx.calligraphy.CalligraphyUtils.applyFontToTextView(:143)
at uk.co.chrisjenx.calligraphy.CalligraphyFactory.onViewCreatedInternal(:142)
at uk.co.chrisjenx.calligraphy.CalligraphyFactory.onViewCreated(:110)
I am developing kotlin android app, with dexguard
calligraphy library works fine with dexguard-debug.pro
but i get following error with dexguard-release.pro and the fonts dont apply showing default fonts
: Can't create asset from fonts/Gotham/Gotham-Bold.otf. Make sure you have passed in the correct path and file name. java.lang.RuntimeException: Font asset not found fonts/Gotham/Gotham-Bold.otf at android.graphics.Typeface.createFromAsset(Typeface.java:310) at uk.co.chrisjenx.calligraphy.TypefaceUtils.load(:35) at uk.co.chrisjenx.calligraphy.CalligraphyUtils.applyFontToTextView(:114) at uk.co.chrisjenx.calligraphy.CalligraphyUtils.applyFontToTextView(:143) at uk.co.chrisjenx.calligraphy.CalligraphyFactory.onViewCreatedInternal(:142) at uk.co.chrisjenx.calligraphy.CalligraphyFactory.onViewCreated(:110)