Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs 为什么android studio无法安装我的应用程序?_Reactjs_Android Studio_Mobile - Fatal编程技术网

Reactjs 为什么android studio无法安装我的应用程序?

Reactjs 为什么android studio无法安装我的应用程序?,reactjs,android-studio,mobile,Reactjs,Android Studio,Mobile,我尝试从android studion安装应用程序,但出现以下错误: Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. 我试过使用虚拟设备,然后是物理设备,但都是相同的错误 我读过这个文件: 我已经配置了我的环境变量:ANDROID_HOME,然后平台在“path”中

我尝试从android studion安装应用程序,但出现以下错误:

 Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
我试过使用虚拟设备,然后是物理设备,但都是相同的错误

我读过这个文件:

我已经配置了我的环境变量:ANDROID_HOME,然后平台在“path”中

使用以下工具查看时,我的设备已连接:

adb devices
我找不到我错过的地方

我也有这个错误:

Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081