i am trying to use this with an kotlin app and get the error:
Cannot access 'androidx.fragment.app.FragmentActivity' which is a supertype of 'de.raphaelebner.roomdatabasebackup.core.RoomBackup'. Check your module classpath for missing or conflicting dependencies
This comes when i try the following code:
val backup = RoomBackup(context)
Column {
AppBar(
title = title,
navController = navController
)
Text(text = "Welcome to the $title-Screen!")
Button(onClick = {
backup.database(MyDatabase.getDatabase(context))
}
}
Hey,
i am trying to use this with an kotlin app and get the error:
Cannot access 'androidx.fragment.app.FragmentActivity' which is a supertype of 'de.raphaelebner.roomdatabasebackup.core.RoomBackup'. Check your module classpath for missing or conflicting dependencies
This comes when i try the following code: val backup = RoomBackup(context) Column { AppBar( title = title, navController = navController ) Text(text = "Welcome to the $title-Screen!") Button(onClick = { backup.database(MyDatabase.getDatabase(context)) } }
Best Regards Ahmet