سلام وقت بخیر.
بعد از افزودن shared_preferences به پروژه بدون اینکه ازش استفاده بشه برنامه دیگر اجرا نمیشه.
این هم خطای برنامه.
* What went wrong:
A problem occurred configuring project ':shared_preferences_android'.
> Could not resolve all files for configuration ':shared_preferences_android:classpath'.
> Could not find com.android.tools.build:gradle:7.2.2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.2.2/gradle-7.2.2.pom
- https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/7.2.2/gradle-7.2.2.pom
Required by:
project :shared_preferences_android
> Failed to notify project evaluation listener.
> Could not get unknown property 'android' for project ':shared_preferences_android' of type org.gradle.api.Project.
> Could not get unknown property 'android' for project ':shared_preferences_android' of type org.gradle.api.Project.