android - react native run android on ubuntu遇到的问题
问题描述
当我尝试运行 android 应用程序时遇到了这个问题,react native onubuntu 20.04
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
带有--verbose
标志以获取更多详细信息。
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
/usr/bin/env: ‘sh\r’: No such file or directory
任何帮助
解决方案
推荐阅读
- docker - 在无 Internet 区域中独立设置 Docker swarm
- linux - Raspberry Pi 3 B+ 的 GIT 克隆失败
- c# - 如何更改 double.ToString() 的标准格式;
- docker - 如何在 Docker Swarm / Kubernetes 中根据 Web 请求启动 Docker 容器的新实例?
- html - HTML5 视频在移动浏览器中不起作用
- react-native - 我想在谷歌地图中使用纬度和经度在反应原生中绘制多边形
- javascript - 外部 JavaScript 文件是否仅用于函数?
- angular - 在另一个组件中使用一个组件,相同的模块在 Angular 6 中不起作用
- c# - 使用 axMsRdpClient 时 .NET 应用程序未启动
- mysql - 是否可以使用触发器根据值将一个表中的值插入到另一个表中?