[Solved] Execution failed for task ':shared_preferences_android:compileDebugJavaWithJavac'.

preview_player
Показать описание
if you are facing the below error
Execution failed for task ':shared_preferences_android:compileDebugJavaWithJavac'.
Could not resolve all files for configuration ':shared_preferences_android:androidJdkImage'.

this video will solve the issue.

Follow the steps mentioned below

android {
ndkVersion "25.1.8937393"

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = 17
}

Рекомендации по теме
Комментарии
Автор

I've a problem related to it, that's url launcher
Where can I share screenshot with you?

Hello-Friends-by-me