我正在尝试链接react-native项目中的自定义字体。 我还有其他库阻止我运行react-native link。 我已经运行了: react-native link ./src/assets/fonts/ react-native link src/assets/fonts/ react-native link ./src/assets/fonts react-native link
我获得了成功的构建,但是react原生保存了我的根组件在错误的位置。我的项目在C://Projects/MobileApp中,我在那里运行:react-native-run-android。BTW, this is how I call my root component import { MyApp
在我的iOS应用程序中,它包括React库及其依赖项,在启动时有以下代码:
NSURL *jsCodeLocation = [NSURL URLWithString:@"http://localhostplatform=ios) with error:(Could not connect to development server.start", "eject": "react-native-scripts eject",