Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo run android failure #6

Open
krmao opened this issue Sep 14, 2022 · 0 comments
Open

demo run android failure #6

krmao opened this issue Sep 14, 2022 · 0 comments

Comments

@krmao
Copy link

krmao commented Sep 14, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant