Android Lint contains bytecode targeting JVM 17. If you write custom lint checks, you need to compile with JDK 17 or higher and specify jvmTarget = '17' in your Kotlin compiler options. AGP 8.+
your app to support per-app language preferences automatically. Based on your project resources, the Android Gradle plugin generates the LocaleConfig ๏ฌle and adds a reference to it in the ๏ฌnal manifest ๏ฌle, so you no longer have to do it manually. AGP uses the resources in the res folders of your app modules and any library module dependencies to determine the locales to include in the LocaleConfig ๏ฌle. Note that the automatic per-app language feature supports apps that run Android 13 or higher. To con๏ฌgure per-app language preferences for prior versions of Android, you still need to use the APIs and in-app language pickers. AGP 8.+