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:
someone5678
2024-12-15 10:34:12 +09:00
committed by Joey
parent ccdde52e98
commit d96a54292c

View File

@@ -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",