D:\zzzz_demo\zzz_tools\game_demo>.\gradlew -Dargs=\"zzz_channel_binghuo Base\" > Configure project :brsdk_core [Base"] [Base"] > Configure project :brsdk_demo brsdk_demo > include project(':brsdk_core') brsdk_demo > com.brsdk.android.BRApplication FAILURE: Build failed with an exception. * What went wrong: Task 'Base"' not found in root project '泊然SDK'. * Try: Run gradlew tasks to get a list of available tasks. 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 0s
时间: 2024-02-18 10:02:22 浏览: 147
C._Thomas_Wu_An_Introduction_to_Object-Oriented_BookFi.org.pdf
根据你的问题,我可以看出你遇到了一个问题,Gradle 无法找到名为 "Base\"" 的任务。根据错误信息,这个问题可能是由于你的命令中存在转义字符引起的。你可以尝试去掉转义字符,将命令修改为:
```
.\gradlew -Dargs="zzz_channel_binghuo Base" > Configure project :brsdk_core [Base] [Base] > Configure project :brsdk_demo brsdk_demo > include project(':brsdk_core') brsdk_demo > com.brsdk.android.BRApplication
```
这样命令中的参数应该就可以正确传递,Gradle 也可以找到名为 "Base" 的任务了。如果问题仍然存在,你可以尝试在执行命令之前先进入到项目的根目录中。
阅读全文