最近刚刚退出博览会,我正在尝试在 android 设备上运行我的应用程序。我按照说明操作(希望是正确的),但是当我尝试运行我的应用程序时,我不断收到此错误:
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.0.1/userguide/command_line_interface.html#sec:command_line_warnings
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> java.io.IOException: The filename, directory name, or volume label syntax is incorrect
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with …Run Code Online (Sandbox Code Playgroud) 最近刚刚退出博览会,我正在尝试在 android 设备上运行我的应用程序。我按照说明操作(希望是正确的),但是当我尝试运行我的应用程序时,我不断收到此错误:
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Run Code Online (Sandbox Code Playgroud)
使用“--warning-mode all”来显示单个弃用警告。请参阅https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
FAILURE:构建失败,出现异常。
出了什么问题:配置项目“:app”时出现问题。
java.io.IOException: 文件名、目录名或卷标语法不正确
尝试:使用 --stacktrace 选项运行以获取堆栈跟踪。使用 --info 或 --debug 选项运行以获得更多日志输出。使用 --scan 运行以获得完整的见解。
在https://help.gradle.org获取更多帮助
3 秒内构建失败
错误 无法安装应用程序。确保您已设置 Android 开发环境:https : //reactnative.dev/docs/environment-setup。使用 --verbose 标志运行 CLI 以获取更多详细信息。错误:命令失败:gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE:构建失败,出现异常。
出了什么问题:配置项目“:app”时出现问题。
java.io.IOException: 文件名、目录名或卷标语法不正确
尝试:使用 --stacktrace 选项运行以获取堆栈跟踪。使用 --info 或 --debug 选项运行以获得更多日志输出。使用 --scan 运行以获得完整的见解。
在https://help.gradle.org获取更多帮助
3 秒内构建失败
at makeError (C:\Users\User\Documents\jad for eject\jad\jad\node_modules\execa\index.js:174:9)
at C:\Users\User\Documents\jad for eject\jad\jad\node_modules\execa\index.js:278:16
at …Run Code Online (Sandbox Code Playgroud) 在我的 firestore 数据库中,我通过组合两个用户 id 和它们之间的“-”来命名文档,如下所示:
/collection/{userID123-userID456}
Run Code Online (Sandbox Code Playgroud)
对于每个用户,我想查询他的 id 是两个之一的所有文档(字符串以他的 id 开头或结尾)。
它非常适合我的安全规则:allow read: if request.auth.uid in docID.split('-')
但我没有找到一种方法来通过获取/查询文档的 id 来实现这一点。
我试图查询这些文档的密钥,但似乎此安全规则阻止了此类操作。
感谢您的帮助!