微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

错误:任务 :expo-constants:processDebugManifest FAILED

如何解决错误:任务 :expo-constants:processDebugManifest FAILED

这个应用程序昨天运行得很好,但今天我尝试构建它并出现这些错误。我不知道该怎么办。

PS C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp> npx react-native run-android
    
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.

Jetifier found 1508 file(s) to forward-jetify. Using 8 workers...

info JS server already running.

'C:\Users\dhwaj' is not recognized as an internal or external command,operable program or batch file.

info Launching emulator...

error Failed to launch emulator. Reason: No emulators found as an output of `emulator -list-avds`.
warn Please launch an emulator manually or connect a device. Otherwise app may fail to launch.
info Installing the app...

> Configure project :app

Installing unimodules:
 unimodules-core@6.0.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\@unimodules\core
 unimodules-react-native-adapter@5.6.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\@unimodules\react-native-adapter
 expo-constants@9.2.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\expo-constants
 expo-file-system@9.2.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\expo-file-system
 expo-image-loader@1.2.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\expo-image-loader
 expo-localization@9.1.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\expo-localization
 expo-permissions@9.3.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\expo-permissions
 unimodules-app-loader@1.3.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\unimodules-app-loader
 unimodules-barcode-scanner-interface@5.3.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\unimodules-barcode-scanner-interface   
 unimodules-camera-interface@5.3.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\unimodules-camera-interface
 unimodules-constants-interface@5.3.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\unimodules-constants-interface
 unimodules-face-detector-interface@5.3.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\unimodules-face-detector-interface       
 unimodules-file-system-interface@5.3.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\unimodules-file-system-interface
 unimodules-font-interface@5.3.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\unimodules-font-interface
 unimodules-image-loader-interface@5.3.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\unimodules-image-loader-interface
 unimodules-permissions-interface@5.3.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\unimodules-permissions-interface
 unimodules-sensors-interface@5.3.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\unimodules-sensors-interface
 unimodules-task-manager-interface@5.3.0 from C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\unimodules-task-manager-interface

Found some duplicated unimodule packages. Installed the ones with the highest version number.
Make sure following dependencies of your project are resolving to one specific version:
 unimodules-core

> Task :expo-constants:processDebugManifest Failed
Error 'C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\expo-constants\android\build\outputs\logs\manifest-merger-debug-report.txt (Access is denied)' while writing the merger report file,build can continue but merging activities will not be documented

> Task :unimodules-constants-interface:parseDebugLibraryResources Failed
> Task :expo-constants:parseDebugLibraryResources 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.2/userguide/command_line_interface.html#sec:command_line_warnings
12 actionable tasks: 10 executed,2 up-to-date

FAILURE: Build completed with 3 failures.

1: Task Failed with an exception.
-----------
* What went wrong:
Execution Failed for task ':expo-constants:processDebugManifest'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > java.io.FileNotFoundException: C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\expo-constants\android\build\intermediates\manifest_merge_blame_file\debug\manifest-merger-blame-debug-report.txt (Access is denied)

* 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.
==============================================================================

2: Task Failed with an exception.
-----------
* What went wrong:
Execution Failed for task ':unimodules-constants-interface:parseDebugLibraryResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\unimodules-constants-interface\android\build\intermediates\local_only_symbol_list\debug\parseDebugLibraryResources\R-def.txt

* 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.
==============================================================================

3: Task Failed with an exception.
-----------
* What went wrong:
Execution Failed for task ':expo-constants:parseDebugLibraryResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp\node_modules\expo-constants\android\build\intermediates\local_only_symbol_list\debug\parseDebugLibraryResources\R-def.txt

* 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 1m 2s

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.

npm ERR! code 1
npm ERR! path C:\Users\dhwaj kothari\Desktop\App_development\Caresy\caresyapp
npm ERR! command Failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c react-native run-android

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\dhwaj kothari\AppData\Local\npm-cache\_logs\2021-04-04T13_11_41_495Z-debug.log

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。