https://kotlinlang.org logo
Title
u

user

07/07/2022, 10:51 AM
java.lang.IllegalArgumentException: A required type converter for Dao is missing in the database configuration I have a type converter class but the app crashes when I try to use it in my database. Error message: java.lang.IllegalArgumentException: A required type converter (class com.example.weatherapp.util.WeatherTypeConverter) for com.example.weatherapp.data.database.WeatherDao is missing in the database configuration. code: @ProvidedTypeConverter class TypeConverter( private val gson:Gson ) { @TypeConverter fun toCurrentJson(current: Current): String { return gson.toJson(...