添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

I am getting a build failure when trying to build the app for the android version. The app successfully got built for iOS version, but I am getting the following error while trying to build it for Android:

stdout | > Task :react-native-community_art:compileReleaseJavaWithJavac FAILED
stderr | /tmp/build-QtqYLG/AdaloApp/node_modules/ @react-native-community /art/android/src/main/java/com/reactnativecommunity/art/ARTShapeShadowNode.java:25: error: cannot find symbol
stderr | import static com.facebook.react.common.ArrayUtils.copyArray;
stderr | ^
stderr | symbol: class ArrayUtils
stderr | location: package com.facebook.react.common
stderr | /tmp/build-QtqYLG/AdaloApp/node_modules/ @react-native-community /art/android/src/main/java/com/reactnativecommunity/art/ARTShapeShadowNode.java:25: error: static import only from classes and interfaces
stderr | import static com.facebook.react.common.ArrayUtils.copyArray;
stderr | ^
stderr | Note: Some input files use or override a deprecated API.
stderr | Note: Recompile with -Xlint:deprecation for details.
stderr | 2 errors
stdout |
stdout | > Task :app:mergeReleaseResources
stderr |
stderr | FAILURE: Build failed with an exception.
stderr |
stderr | * What went wrong:
stderr | Execution failed for task ‘:react-native-community_art:compileReleaseJavaWithJavac’.
stderr | > Compilation failed; see the compiler error output for details.
stderr |
stderr | * Try:
stderr | > Run with --info option to get more log output.
stderr | > Run with --scan to get full insights.
stderr |
stderr | BUILD FAILED in 2m 48s
stdout |
stdout | Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

I have spent months on building the logic and screens for the app and now I am not able to build the app. Kindly let me know if anyone else got that issue and was able to resolve it. I’ve also raised a ticket on Adalo and really looking forward to it.