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

Build issue after upgrading react native from version 0.63 to 0.66

Open danialdo95 opened this issue 4 years ago • 1 comments

Environment

System: OS: macOS 11.2.3 CPU: (6) x64 Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz Memory: 253.03 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 14.16.0 - /usr/local/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 6.14.11 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.10.1 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4 Android SDK: API Levels: 27, 28, 29, 30 Build Tools: 28.0.3, 29.0.2, 30.0.2, 31.0.0 System Images: android-28 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 4.1 AI-201.8743.12.41.7042882 Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild Languages: Java: 1.8.0_282 - /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.66.0 => 0.66.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Things I’ve done to figure out my issue

Upgrading version

0.63 to 0.66

Description

Null Pointer Exception when try to build and run react Native on Android after upgrading react native version

even when I ran: cd android && ./gradlew clean I also get the same error. Nothing much details despite adding flags debug, info, and stacktrace.

Snack, code example, screenshot, or link to a repository:

image

Reproducible demo

  1. Run npx react-native run-android
  2. or run cd android && ./gradlew clean

danialdo95 avatar Oct 13 '21 06:10 danialdo95

@danialdo95 were you able to solve this, I am also facing same issue on android

manjeets12 avatar Jan 20 '22 05:01 manjeets12