با سلام من بعد از نصب پکیج و فراخوانی به این مشکل میخوریم که زمانی که پاک میکنم این پکیج رو و کد های مرتبط با پکیج رو پاک میکنم مشکل حل نمیشود قبلا این مشکل نبود و در expo اوکی است من فیلتر شکنم روشن و npm i را هم تست کردم(بعد پاک کردن پکیج حل میشود ولی دیگر امکان استفاده از نویگیشن در سی ال ای نیست)
> Task :app:checkDebugAarMetadata FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
8 actionable tasks: 2 executed, 6 up-to-date
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Failed to transform appcompat-1.3.0.aar (androidx.appcompat:appcompat:1.3.0) to match attributes {artifactType=android-aar-metadata, org.gradle.status=release}.
> Could not find appcompat-1.3.0.aar (androidx.appcompat:appcompat:1.3.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/appcompat/appcompat/1.3.0/appcompat-1.3.0.aar
> Failed to transform fragment-1.3.4.aar (androidx.fragment:fragment:1.3.4) to match attributes {artifactType=android-aar-metadata, org.gradle.status=release}.
> Could not find fragment-1.3.4.aar (androidx.fragment:fragment:1.3.4).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/fragment/fragment/1.3.4/fragment-1.3.4.aar
> Failed to transform fragment-1.3.4.aar (androidx.fragment:fragment:1.3.4) to match attributes {artifactType=android-aar-metadata, org.gradle.status=release}.
> Could not find fragment-1.3.4.aar (androidx.fragment:fragment:1.3.4).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/fragment/fragment/1.3.4/fragment-1.3.4.aar
> Failed to transform lifecycle-runtime-2.3.1.aar (androidx.lifecycle:lifecycle-runtime:2.3.1) to match attributes {artifactType=android-aar-metadata, org.gradle.status=release}.
> Could not find lifecycle-runtime-2.3.1.aar (androidx.lifecycle:lifecycle-runtime:2.3.1).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-runtime/2.3.1/lifecycle-runtime-2.3.1.aar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 16s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Failed to transform appcompat-1.3.0.aar (androidx.appcompat:appcompat:1.3.0) to match attributes {artifactType=android-aar-metadata, org.gradle.status=release}.
> Could not find appcompat-1.3.0.aar (androidx.appcompat:appcompat:1.3.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/appcompat/appcompat/1.3.0/appcompat-1.3.0.aar
> Failed to transform fragment-1.3.4.aar (androidx.fragment:fragment:1.3.4) to match attributes {artifactType=android-aar-metadata, org.gradle.status=release}.
> Could not find fragment-1.3.4.aar (androidx.fragment:fragment:1.3.4).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/fragment/fragment/1.3.4/fragment-1.3.4.aar
> Failed to transform fragment-1.3.4.aar (androidx.fragment:fragment:1.3.4) to match attributes {artifactType=android-aar-metadata, org.gradle.status=release}.
> Could not find fragment-1.3.4.aar (androidx.fragment:fragment:1.3.4).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/fragment/fragment/1.3.4/fragment-1.3.4.aar
> Failed to transform lifecycle-runtime-2.3.1.aar (androidx.lifecycle:lifecycle-runtime:2.3.1) to match attributes {artifactType=android-aar-metadata, org.gradle.status=release}.
> Could not find lifecycle-runtime-2.3.1.aar (androidx.lifecycle:lifecycle-runtime:2.3.1).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-runtime/2.3.1/lifecycle-runtime-2.3.1.aar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 16s
at makeError (C:\Users\abouzarrayaneh\Desktop\app-native-1\app1\node_modules\execa\index.js:174:9)
at C:\Users\abouzarrayaneh\Desktop\app-native-1\app1\node_modules\execa\index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (C:\Users\abouzarrayaneh\Desktop\app-native-1\app1\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (C:\Users\abouzarrayaneh\Desktop\app-native-1\app1\node_modules\@react-native-community\cli\build\index.js:192:9)
info Run CLI with --verbose flag for more details.
سلام دوست عزیز منم قبلا به این مشکل میخوردم بخاطر تحریم هاست شما باید از تحریم شکن استفاده کنی و بعداز این که مطمئن شدی تحریم نیستی بیلد بگیری وی پی ان رو روش کردی سایت اندروید دولوپرو باز کن ببین باز میکنه یا نه اگه باز کرد تحریم رو دور زدی باز نکرد از یه vpn دیگه استفاده کن