Closed AhmedTawfek closed 1 month ago
The problem that it was searching for android.arch.lifecycle:common:1.1.1. in the wrong place, so i have edited the settings.gradle.kts file from:
pluginManagement { repositories { google { mavenContent { includeGroupAndSubgroups("androidx") includeGroupAndSubgroups("com.android") includeGroupAndSubgroups("com.google") } } mavenCentral() gradlePluginPortal() } }
To this :
pluginManagement { repositories { google() mavenCentral() gradlePluginPortal() } }
Iam getting this error when trying to run the app on the desktop, however it works fine on the android:
This is my build.gradle.kts file: