metro-code-split
metro-code-split copied to clipboard
demo run android failure
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.