mikepenz/Android-Iconics

Custom Font library import error: Expecting member declaration

mohammadnouripoor opened this issue · 2 comments

Hi, I'm trying to import my custom font icon with android-iconics.mikepenz.com but when add the generated lib as module in android studio. Kotlin Class showing me an error on enum: Expecting member declaration.
Can you please help me with that?
Screenshot (5)

removing : will fix this.
so pho_activity:('\uf230') must be pho_activity('\uf230') for example.

@mohammadnouripoor sadly some of the more recent icon fonts have a different css format which can cause the above problem.

Please follow and remove the : as outlined by @saeed74 (thanks).