reference to enumeration must use 'enum' not 'enum class'

when i want to compile my APK package i get this error:

reference to enumeration must use ‘enum’ not ‘enum class’

what i missed.

-i tested both shippeing and development packaging.

  • i did not use any enum