upgrade-support icon indicating copy to clipboard operation
upgrade-support copied to clipboard

Task compileDebugJavaWithJavac FAILED after upgrading to new architecture

Open kamal-j opened this issue 2 years ago • 0 comments

Environment

System: OS: macOS 12.3.1 CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 1.40 GB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 18.4.0 - /var/folders/0q/q1rxbbyn1mn4rypn0zc1q69r0000gn/T/yarn--1660726525517-0.026153674956159945/node Yarn: 1.22.17 - /var/folders/0q/q1rxbbyn1mn4rypn0zc1q69r0000gn/T/yarn--1660726525517-0.026153674956159945/yarn npm: 8.12.1 - /usr/local/bin/npm Watchman: Not Found Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: Not Found IDEs: Android Studio: 2020.3 AI-203.7717.56.2031.7678000 Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild Languages: Java: 11.0.12 - /usr/bin/javac npmPackages: @react-native-community/cli: 7.0.1 => 7.0.1 react: 17.0.1 => 17.0.1 react-native: 0.0.0-20220201-2008-79975d146 => 0.0.0-20220201-2008-79975d146 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Things I’ve done to figure out my issue

Upgrading version

React native nightly release version 0.0.0-20220201-2008-79975d146

Description

I get the following error for several packages used in my app. Does this mean these packages cannot be used in the new architecture or i haven't properly followed the steps to upgrade to new architecture? From the docs i have followed it till this step after which I tried to run a debug build as mentioned in the docs. The build fails and the following is part of the error.

Task :react-native-community_datetimepicker:compileDebugJavaWithJavac FAILED

Task :react-native-async-storage_async-storage:compileDebugJavaWithJavac FAILED

Task :react-native-branch:compileDebugJavaWithJavac FAILED

Task :lottie-react-native:compileDebugJavaWithJavac FAILED

Task :react-native-fs:compileDebugJavaWithJavac FAILED

Task :react-native-device-info:compileDebugJavaWithJavac FAILED

Task :react-native-code-push:compileDebugJavaWithJavac FAILED

Task :react-native-flipper:compileDebugJavaWithJavac FAILED

Task :react-native-firebase_app:compileDebugJavaWithJavac FAILED

Task :react-native-fbsdk-next:compileDebugJavaWithJavac FAILED

Task :react-native-fast-image:compileDebugJavaWithJavac FAILED

Reproducible demo

kamal-j avatar Aug 17 '22 09:08 kamal-j