在 Mac 操作系统上响应原生 Android

时间:2021-03-02 16:38:13

标签: android macos react-native flipper

我在运行适用于 Android 的 react-native 项目时遇到问题。以下是我的项目输出。

export default {
  // ... other config
  plugins: [
    // ... other plugins
    legacy({ 'node_modules/leader-line/leader-line.min.js': 'LeaderLine' }),
  ]
};

我面临的错误是。

System:
  OS: macOS 10.15.5
  CPU: (4) x64 Intel(R) Core(TM) i5-5287U CPU @ 2.90GHz
  Memory: 1.33 GB / 8.00 GB
  Shell: 3.2.57 - /bin/bash
Binaries:
  Node: 13.8.0 - /usr/local/bin/node
  npm: 6.13.7 - /usr/local/bin/npm
  Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
  iOS SDK:
  Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
IDEs:
  Xcode: 12.4/12D4e - /usr/bin/xcodebuild
npmPackages:
  react: 16.9.0 => 16.9.0 
  react-native: 0.61.5 => 0.61.5 
npmGlobalPackages:
  react-native-cli: 2.0.1
  react-native: 0.61.5

我已经尽可能多地处理了错误报告Crashes on emulator #707SoLoader: couldn't find DSO to load: libflipperfb.so #515 couldn't find DSO to load: 和其他几个。

我尝试运行以下命令

rm -rf $HOME/.gradle/caches/

cd android && ./gradlew clean

以及 Build -> Clean 从我的 Android Studio (Android Studio 4.1.1)。但是,当我尝试运行该应用程序时,它仍然失败。

尝试在我的 gradle.properties 中从 FLIPPER_VERSION=0.33.1 -> FLIPPER_VERSION=0.78.0 更改我的 Flipper 版本,但仍然没有用。

0 个答案:

没有答案