rogergcc / FilmsTheMovieDbApp

Films from TMDB using Retrofit kotlin data-domain-ui
0 stars 0 forks source link

Build rebuild warnings and possible errors #11

Open rogergcc opened 10 months ago

rogergcc commented 10 months ago
  1. Warning jdk 8 replace with incruste JDK11

Task :app:kaptDebugKotlin warning: Current JDK version 1.8.0_301-b09 has a bug (https://bugs.openjdk.java.net/browse/JDK-8007720) that prevents Room from being incremental. Consider using JDK 11+ or the embedded JDK shipped with Android Studio 3.5+....FilmsTheMovieDbApp\app\build\tmp\kapt3\stubs\debug\com\rogergcc\filmsthemoviedbapp\data\local\AppDatabase.java:7: warning: Schema export directory is not provided to the annotation processor so we cannot export the schema. You can either provide room.schemaLocation annotation processor argument OR set exportSchema to false. public abstract class AppDatabase extends androidx.room.RoomDatabase { ^[WARN] Incremental annotation processing requested, but support is disabled because the following processors are not incremental: androidx.room.RoomProcessor (DYNAMIC). https://bugs.openjdk.org/browse/JDK-8007720

  1. View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN ... deprecated

3.warning: Schema export directory

warning: Schema export directoryis not provided to the annotation processor so we cannot export the schema. You can either provide room.schemaLocation annotation processor argument OR set exportSchema to false. public abstract class AppDatabase extends androidx.room.RoomDatabase {

export false meanwhile

https://sevenpeakssoftware.com/blog/hilt-for-android-application-development/

build graddleimprove clean

rogergcc commented 10 months ago

8d24c518d7a713b43b95827b3848d5667969901c

rogergcc commented 10 months ago

e0d56b087e8c475c60f2605f67397a806946fe5e

rogergcc commented 10 months ago

build graddle e0d56b087e8c475c60f2605f67397a806946fe5e