У меня есть существующий проект с React-Native, и я попытался запустить проект после того, как установил все зависимости, исправил переменные среды и перешел на правильную версию узла, но я продолжаю получать эту ошибку, и приложение будет собрано в мой эмулятор. Кажется, я не могу найти решение этой проблемы, кто-нибудь видел это?
> Task :app:mergeDebugAssets 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.7.1/userguide ... e_warnings
141 actionable tasks: 2 executed, 139 up-to-date
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/a ... generic/02 to old ns http://schemas.android.com/repository/a ... generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/ ... /01Warning: Mapping new ns http://schemas.android.com/sdk/android/ ... sitory2/02 to old ns http://schemas.android.com/sdk/android/ ... sitory2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/a ... generic/02 to old ns http://schemas.android.com/repository/a ... generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/ ... /01Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/ ... /01Warning: Mapping new ns http://schemas.android.com/sdk/android/ ... sitory2/02 to old ns http://schemas.android.com/sdk/android/ ... sitory2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/ ... sitory2/03 to old ns http://schemas.android.com/sdk/android/ ... sitory2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: unexpected element (uri:"", local:"extension-level"). Expected elements are ,,
Warning: unexpected element (uri:"", local:"base-extension"). Expected elements are ,,
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeDebugAssets'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find stetho-2.2.0.aar (com.facebook.fresco:stetho:2.2.0).
Searched in the following locations:
https://jcenter.bintray.com/com/faceboo ... -2.2.0.aar
> Could not find fresco-2.2.0.aar (com.facebook.fresco:fresco:2.2.0).
Searched in the following locations:
https://jcenter.bintray.com/com/faceboo ... -2.2.0.aar
> Could not find drawee-2.2.0.aar (com.facebook.fresco:drawee:2.2.0).
Searched in the following locations:
https://jcenter.bintray.com/com/faceboo ... -2.2.0.aar
> Could not find nativeimagefilters-2.2.0.aar (com.facebook.fresco:nativeimagefilters:2.2.0).
Searched in the following locations:
https://jcenter.bintray.com/com/faceboo ... -2.2.0.aar
> Could not find memory-type-native-2.2.0.aar (com.facebook.fresco:memory-type-native:2.2.0).
Searched in the following locations:
https://jcenter.bintray.com/com/faceboo ... -2.2.0.aar
> Could not find memory-type-java-2.2.0.aar (com.facebook.fresco:memory-type-java:2.2.0).
Searched in the following locations:
https://jcenter.bintray.com/com/faceboo ... -2.2.0.aar
> Could not find imagepipeline-native-2.2.0.aar (com.facebook.fresco:imagepipeline-native:2.2.0).
Searched in the following locations:
https://jcenter.bintray.com/com/faceboo ... -2.2.0.aar
> Could not find imagepipeline-2.2.0.aar (com.facebook.fresco:imagepipeline:2.2.0).
Searched in the following locations:
https://jcenter.bintray.com/com/faceboo ... -2.2.0.aar
> Could not find android-image-cropper-2.7.0.aar (com.theartofdev.edmodo:android-image-cropper:2.7.0).
Searched in the following locations:
https://jcenter.bintray.com/com/thearto ... -2.7.0.aar
> Could not find blurview-1.6.3.aar (com.eightbitlab:blurview:1.6.3).
Searched in the following locations:
https://jcenter.bintray.com/com/eightbi ... -1.6.3.aar
> Could not find fbcore-2.2.0.aar (com.facebook.fresco:fbcore:2.2.0).
Searched in the following locations:
https://jcenter.bintray.com/com/faceboo ... -2.2.0.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 53s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Подробнее здесь: https://stackoverflow.com/questions/792 ... serverport
Я продолжаю получать эту ошибку gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 ⇐ Android
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение