简体   繁体   English

运行应用程序时如何解决以下错误:无法解析所有文件进行配置?

[英]How can i solve the following error while run the app : Could not resolve all files for configuration?

FAILURE: Build failed with an exception. 失败:构建失败,发生异常。

BUILD FAILED in 0s 12 actionable tasks: 1 executed, 11 up-to-date Could not install the app on the device, read the error above for details. 在0秒内失败,完成12项可执行的任务:1项已执行,11项最新无法在设备上安装该应用程序,有关详细信息,请阅读上面的错误。 Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/getting-started.html 确保已运行Android模拟器或已连接设备,并已设置Android开发环境: https : //facebook.github.io/react-native/docs/getting-started.html

what is the build command you are running. 您正在运行的构建命令是什么。 as it says adding --stacktrace to that may help. 正如它说的--stacktrace可能会有所帮助。 something like (assuming package.json/npm etc) - npm run build --stacktrace or in the scripts - <BUILD-PACKAGE> --stacktrace [options] 像(假设package.json / npm等) npm run build --stacktrace或在脚本中- <BUILD-PACKAGE> --stacktrace [options]

package.json: 的package.json:

{
    "scripts": {
        "makeItSo": "<BUILD-PACKAGE> --stacktrace [options]"
    }
}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法解析配置“:app:debugRuntimeClasspath”的所有任务依赖项 - Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath' 如何解决这个问题 - 无法解决 Rails 中的“app/javascript/*.*”问题 - How to solve this - Could not resolve "app/javascript/*.*" issue in Rails 如何在运行npm install mysqljs / mysql时解决以下错误? - How do i Solve the following error while runnin npm install mysqljs/mysql? 我如何解决此错误&#39;以下任务未完成:默认,您是否忘记了异步完成信号? &#39; - how can i solve this error 'The following tasks did not complete: default, Did you forget to signal async completion? ' 在运行Jest进行测试时,如何解决以下编译错误? - How can I resolve the following compilation error when running Jest for testing? 如何解决以下JS错误? - How to resolve the following JS error? 我该如何解决这个错误 - How can i resolve this error 如何解决“module not found can't resolve 'Api Client'”错误? - How to solve “module not found can't resolve 'Api Client'” error? 得到错误 Module not found: Error: Can&#39;t resolve &#39;../components/***&#39; when webpack build, 我该如何解决这个问题? - got error Module not found: Error: Can't resolve '../components/***' when webpack build,how can I solve this problem? 如何在目录中的所有文件上运行Illustrator javascript? - How can I run an Illustrator javascript on all files in a directory?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM