【发布时间】:2016-04-13 19:58:53
【问题描述】:
我正在运行一个 React-Native 应用程序,但是当我尝试在 android 目录中 gradlew installDebug 时,我遇到了构建失败。这是我使用时得到的信息:
gradlew installDebug --info
`构建失败
总时间:1.118 秒 停止了 0 个编译器守护程序。 从守护进程 DaemonInfo{pid=4326, address=[4c8a3b8f- 5957-4911-b262-0e36824d2139 端口:54258,地址:[/0:0:0:0:0:0:0:1, /127.0.0.1]],idle=true,context=DefaultDaemonContext[uid=dbec8c34- 89ba-4872-9077-12b4b3ff38a0,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home,daemonRegistryDir=/Users/d0ntg0m0ng/.gradle/daemon,pid=4326,idleTimeout=10800000,daemonOpts= -XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]}.`
这是我在没有 --info 的情况下运行 gradlew installDebug 时遇到的错误 `android [路由器] :> ./gradlew installDebug
FAILURE:构建失败并出现异常。
- 出了什么问题:
配置项目 ':app' 时出现问题。
无法评估模块 react-native-couchbase-lite:找不到名称为“默认”的配置。`
"react-native": "^0.15.0",是我使用的 react-native 版本。
this is the repo that the project is fork from 我正在尝试将应用程序设置到我的 genymotion 模拟器,但构建永远不会完成。
我已经运行了 react-native start 命令并设置了与 couchbase lite 服务器的同步。不确定这是否是相关信息。我对原生开发相当陌生,我不知道从哪里开始尝试调试它。
【问题讨论】:
标签: react-native gradlew