首页 > 解决方案 > 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

任何帮助

标签: androidlinuxreact-nativeubuntu

解决方案


推荐阅读