正如问题的标题所说,它几天前就开始工作了,但是现在,不管我做什么,我都会得到warn No apps connected. Sending "reload" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB.,尤其是在iOS模拟器上运行时。它在android物理设备上运行良好,只在iOS模拟器上工作。我的应用程序只是停留在飞溅屏幕上,在那之后,如果我按下r在地铁班德勒重新加载,它会抛出这个警告。
注意,-&
我在工作中的一个特定设备上有一个奇怪的bug。
我可以在模拟器上很好地运行我的react原生应用程序,也可以在我自己的设备上从终端和android studio运行。但是,当我尝试从终端运行工作设备时,它给出了以下错误:
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development envi
我试图让我的反应本机项目在android模拟器上运行,而在Mac操作系统上运行。它在我的窗户上很好用。
在我的Mac上,我到终端输入react-native run-android并得到错误消息:
$ react-native run-android
Scanning 616 folders for symlinks in /Users/John/Documents/myreactnativeproject/node_modules (17ms)
Starting JS server...
Building and installing the app on the device (cd an
当我通常通过带有npx react-native run android的终端运行从Android虚拟设备(仿真器)中的可视代码生成的本机react时,我突然面临这个错误
1. info Running jetifier to migrate libraries to AndroidX. You can
disable it using "--no-jetifier" flag. Jetifier found 954 file(s) to
forward-jetify. Using 8 workers... info Starting JS serv
我在ubuntu 16.04上。尝试开始使用React native,这是官方基础教程。我已经用react native cli初始化了一个示例项目,但是当我执行react-native run-android时,它失败了。如果我尝试使用真实的设备,我得到的是Could not get batched bridge。我已经在谷歌上搜索过这个问题,但没有一个建议对我有帮助。当我尝试在Genymotion上运行它时,我得到
ADB server didn't ACK
* failed to start daemon *
error:
Starting the app (/home/yxf
我正试图准备一个分阶段发布版本,但是我的构建失败了。它给了我一个巨大的错误列表。我已经修改了我的build.gradle以添加一个暂存环境。我不知道为什么会发生这种情况,因为我的调试和发布构建工作正常。
我使用yarn android --variant=stagingrelease生成构建并在我的实体android设备上运行。使用React-Native: 0.61.5。
中的一些错误如下所示:
FAILURE: Build failed with an exception.
* What went wrong: Could not determine the dependencies o
我正在尝试使用react-native-call-detection库来获取来电号码。 但是当我启动android模拟器时,这个低错误出现了。 我已经运行了react-native unlink react-native-call-detection,但错误仍然存在。已经找出了其他错误,但没有用! 如果我完全删除了react-native-call-detection,那么模拟器就会打开,没有任何错误。 有人能帮帮我吗? 谢谢。 Microsoft Windows [versão 10.0.18363.535]
(c) 2019 Microsoft Corporation. Todos os
问题描述
我通过npx react-native link react-native-navigation (并在andoid/build.gradle中修改minSdkVersion )安装库。
当我运行npx react-native run-android时,应用程序已经构建并且工作正常,尽管我在终端中得到了以下错误:
error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually:
- react-native-naviga