当我尝试使用react-native run-android运行我的项目时,它显示了这个错误:error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. 此外,当我从Android Studio运行时,它显示这个错误:ERROR: Android dependency
我对react是个新手--原生、npm等。但我可以根据一些示例运行一些android应用程序的测试。
现在我想学习导航。我遵循中的步骤...
但是在我安装了react导航之后,我就不能再使用"react-native run-android“命令了。
C:\Users\Nicolas\react-native-app\KleinProject>react-native run-android
Command `run-android` unrecognized. Make sure that you have run `npm install` and that you are
我在试图运行我的Reactive原住民项目时出错了。
react-native run-android
错误看上去
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or
我在OSX上使用的是react-native 0.43.3。我试着在Android上运行应用程序,然后收到消息
react-native run-android
Scanning 568 folders for symlinks in /Users/ruci.k/project/mayacrew/supermembers/supermembers/node_modules (5ms)
JS server already running.
Building and installing the app on the device (cd android && ./gradlew
我发布了react-native init MyApp和react-native run-android
启动了Metro服务器,但是当电话请求它的数据时,它就崩溃了
Error: Unable to resolve module `./index` from `\node_modules\react-native\scripts/.`: The module `./index` could not be found from `\node_modules\react-native\scripts/.`. Indeed, none of these files exist:
机器有新安装的节点
我已经创建了一个React-Native项目。当我运行react-native run-ios时,构建成功了。但是当我运行react-native run-android时,我得到了这个错误:
* What went wrong:
Execution failed for task ':app:installDebug'.
> com.android.builder.testing.api.DeviceException: Could not create ADB Bridge. ADB location: /Applications/ADT/sdk/platform-t
我试图在mac上运行本机响应,在后台运行android仿真器并运行react-native run-android,我得到:
=> react-native run-android
Scanning 564 folders for symlinks in /Users/sao/Conv/Conv2/node_modules (19ms)
Starting JS server...
Building and installing the app on the device (cd android && ./gradlew installDebug)...
Could not
我正在使用原生react创建一个简单的移动应用程序。这个项目在模拟器上运行得很好,直到我添加了redux。我正在使用redux进行登录和注销;它实际上只是一个缩减程序和操作文件,用于在登录时将authedUser设置为注册用户名,在注销时设置为null。如果我在web浏览器上运行它,它可以正常工作,但不能在ios/android模拟器上运行。当通过react-native run-android在模拟器上运行时,我得到了上面的错误。当通过expo运行它时,我得到:不变冲突:“main”尚未注册。here is a screenshot of the error完全迷失了方向。有什么建议吗?
我正在尝试运行react原生代码,但是当我使用react-native run-android时,我收到了这个错误消息。我使用的是android studio。
~/Downloads/BrainG-master$ sudo react-native run-android
Scanning folders for symlinks in /home/luke/Downloads/BrainG-
master/node_modules (10ms)
JS server already running.
Building and installing the app on the devi