Skip to content

demo run android failure #6

Description

@krmao

yarn android

> Task :app:processDebugResources
> Task :react-native-community_masked-view:generateDebugBuildConfig UP-TO-DATE
> Task :react-native-community_masked-view:javaPreCompileDebug UP-TO-DATE
> Task :react-native-community_masked-view:compileDebugJavaWithJavac
> Task :react-native-gesture-handler:generateDebugBuildConfig UP-TO-DATE
> Task :react-native-gesture-handler:javaPreCompileDebug UP-TO-DATE
> Task :react-native-community_masked-view:bundleLibCompileToJarDebug
> Task :react-native-gesture-handler:compileDebugJavaWithJavac UP-TO-DATE
> Task :react-native-gesture-handler:bundleLibCompileToJarDebug UP-TO-DATE
> Task :react-native-reanimated:generateDebugBuildConfig UP-TO-DATE
> Task :react-native-reanimated:javaPreCompileDebug UP-TO-DATE
> Task :react-native-reanimated:packageNdkLibs NO-SOURCE

> Task :react-native-reanimated:compileDebugJavaWithJavac FAILED
75 actionable tasks: 5 executed, 70 up-to-date
~/Workspace/metro-code-split/Example/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/layoutReanimation/ReanimatedUIImplementation.java:13: 错误: 找不到符号
      ViewManagerResolver viewManagerResolver,
      ^
  符号:   类 ViewManagerResolver
  位置: 类 ReanimatedUIImplementation
~/Workspace/metro-code-split/Example/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/layoutReanimation/ReanimatedUIImplementation.java:11: 错误: 递归构造器调用
  public ReanimatedUIImplementation(
         ^
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
2 个错误

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-reanimated:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions