با سلام
استاد 1 ماهی هست با این خطا زمانی که react-native-screens را نصب میکنم مواجه میشم تمام راه ها رو از جمله clean و vpn خوب و نصب های مجدد رو انجام دادم ولی خطا از بین نمیره یک قسمت از متن خطا رو ارسال میکنم اگر امکانش هست راهنمایی بفرمایید
> Configure project :app
Unable to detect AGP versions for included builds. All projects in the build should use the same AGP version. Class name for the included build object: org.gradle.composite.internal.DefaultIncludedBuild$IncludedBuildImpl_Decorated.
> Task :react-native-screens:compileDebugKotlin FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
47 actionable tasks: 2 executed, 45 up-to-date
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-screens:compileDebugKotlin'.
> Error while evaluating property 'filteredArgumentsMap' of task ':react-native-screens:compileDebugKotlin'
> Could not resolve all artifacts for configuration ':react-native-screens:debugCompileClasspath'.
> Failed to transform lifecycle-runtime-2.2.0.jar (androidx.lifecycle:lifecycle-runtime:2.2.0) to match attributes {artifactType=android-classes-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-api}.
> Could not find lifecycle-runtime-2.2.0.jar (androidx.lifecycle:lifecycle-runtime:2.2.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-runtime/2.2.0/lifecycle-runtime-2.2.0.jar
سلام دوست من
خودش سعی کرده دانلود کنه ولی نتونسته
از vpn های pptp یا کریو استفاده کن تا کل کانکشن سیستم از تحریم خارج بشه
سلام
استاد باز هم همین خطا رو میده واقعا نمیدونم مشکلش با dependency های navigation چیه
> Configure project :app
Unable to detect AGP versions for included builds. All projects in the build should use the same AGP version. Class name for the included build object: org.gradle.composite.internal.DefaultIncludedBuild$IncludedBuildImpl_Decorated.
Observed package id 'emulator' in inconsistent location 'C:\Users\Alireza\AppData\Local\Android\Sdk\emulator-2' (Expected 'C:\Users\Alireza\AppData\Local\Android\Sdk\emulator')
Observed package id 'platforms;android-31' in inconsistent location 'C:\Users\Alireza\AppData\Local\Android\Sdk\platforms\android-31-3' (Expected 'C:\Users\Alireza\AppData\Local\Android\Sdk\platforms\android-31')
Observed package id 'platforms;android-32' in inconsistent location 'C:\Users\Alireza\AppData\Local\Android\Sdk\platforms\android-32-2' (Expected 'C:\Users\Alireza\AppData\Local\Android\Sdk\platforms\android-32')
> Task :react-native-safe-area-context:compileDebugKotlin
w: D:\TabletSource\testscreen4\node_modules\react-native-safe-area-context\android\src\main\java\com\th3rdwave\safeareacontext\SafeAreaView.kt: (50, 23): 'getter for uiImplementation: UIImplementation!' is deprecated. Deprecated in Java
> Task :react-native-screens:compileDebugKotlin FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.