首页 文章

:app:recordFilesBeforeBundleCommandDebug FAILED

提问于
浏览
0

您好我正在尝试在远程桌面上运行应用程序react-native

当我运行./gradlew clean时,它已成功构建 . 但是在运行./gradlew assembleDebug时出错

Error: ENOENT: no such file or directory, open 'C:\Users\user\AppData\Local\Temp;C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe\CodePushResourcesMap-aab77707.json'

:app:recordFilesBeforeBundleCommandDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:recordFilesBeforeBundleCommandDebug'.
> Process 'command 'node'' finished with non-zero exit value 1
  • 尝试:使用--stacktrace选项运行以获取堆栈跟踪 . 使用--info或--debug选项运行以获取更多日志输出 .

建筑失败

总时间:10分钟1.501秒无法在设备上安装应用程序,请阅读上述错误以获取详细信息 . 确保您正在运行Android模拟器或已连接设备,并已设置Android开发环境:https://facebook.github.io/react-native/docs/android-setup.html

1 回答

  • 0

    重定向到android文件夹,然后使用gradlew clean . 1.cd android 2.gradlew clean我通过使用此评论解决了这个问题

相关问题