Settings: Import androidx.room_room-runtime
Log:
Output:
packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/db/BatteryStateDatabase.java:35: error: Schema export directory was not provided to the annotation processor so Room cannot export the schema. You can either provide `room.schemaLocation` annotation processor argument by applying the Room Gradle plugin (id 'androidx.room') OR set exportSchema to false.
public abstract class BatteryStateDatabase extends RoomDatabase {
^
Change-Id: I493d978ee204761e93fb177680bd102c30b45e9c
This commit is contained in:
@@ -131,6 +131,7 @@ android_library {
|
||||
"androidx.fragment_fragment",
|
||||
"androidx.fragment_fragment-ktx",
|
||||
"androidx.preference_preference-ktx",
|
||||
"androidx.room_room-runtime",
|
||||
"kotlin-stdlib",
|
||||
"kotlinx_coroutines_android",
|
||||
"kotlinx_coroutines",
|
||||
|
||||
Reference in New Issue
Block a user