小编Dan*_*oJs的帖子

MainApplication.java 处的 React-Native-Reanimated 错误

伙计们

我正在尝试安装react-native-reanimated,但我不断收到此错误。

C:\Users\danilojldeo\Desktop\MeuGithub\controle-de-pragas\android\app\src\main\java\com\tracker\MainApplication.java:17: error: cannot find symbol
import com.swmansion.reanimated.ReanimatedJSIModulePackage;
                               ^
  symbol:   class ReanimatedJSIModulePackage
  location: package com.swmansion.reanimated
C:\Users\danilojldeo\Desktop\MeuGithub\controle-de-pragas\android\app\src\main\java\com\tracker\MainApplication.java:45: error: cannot find symbol
          return new ReanimatedJSIModulePackage();
                     ^
Run Code Online (Sandbox Code Playgroud)

这是完整的日志错误

info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1372 file(s) to forward-jetify. Using 4 workers...
info Starting JS server...
info Installing the app...

> Task :@mauron85_react-native-background-geolocation-common:compileDebugJavaWithJavac

> Task :mauron85_react-native-background-geolocation:compileDebugJavaWithJavac

> Task :react-native-camera:compileGeneralDebugJavaWithJavac

> Task :react-native-community_async-storage:compileDebugJavaWithJavac

> Task :react-native-gesture-handler:compileDebugJavaWithJavac

> Task :react-native-geolocation-service:compileDebugJavaWithJavac

> Task :react-native-maps:compileDebugJavaWithJavac

> …
Run Code Online (Sandbox Code Playgroud)

navigation animation navigator reactjs react-native

3
推荐指数
1
解决办法
2万
查看次数

标签 统计

animation ×1

navigation ×1

navigator ×1

react-native ×1

reactjs ×1