react-native-community / upgrade-support

A central community-backed place to request and give help when upgrading your app.
MIT License
257 stars 2 forks source link

android build failing after upgrading to 0.75 #286

Closed ktourvas closed 1 month ago

ktourvas commented 1 month ago

Environment

System: OS: macOS 14.6.1 CPU: (8) arm64 Apple M1 Memory: 82.55 MB / 8.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 18.18.2 path: /usr/local/bin/node Yarn: Not Found npm: version: 9.8.1 path: /usr/local/bin/npm Watchman: version: 2023.12.04.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.14.3 path: /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms:

Things I’ve done to figure out my issue

Upgrading version

0.75.1

Description

FAILURE: Build failed with an exception.

Reproducible demo

ktourvas commented 1 month ago

Just noticed issue not present when android.enableJetifier=true in android/gradle.properties is not removed as indicated by upgrade helper

aurangs7 commented 1 month ago

Yeah, I am getting the same issue in react native version: 0.75.3

tibbe commented 3 weeks ago

Same here, if I remove enableJetifier as per the upgrade helper the Android build fails.

abhayagrawal-fareye commented 2 weeks ago

Just noticed issue not present when android.enableJetifier=true in android/gradle.properties is not removed as indicated by upgrade helper

Why is this not working ?

Ajololr commented 4 days ago

Jetifier is marked as obsolete and should not be used. https://github.com/mikehardy/jetifier

Instead, you should migrate from using the com.android.support libraries in your project. You can identify the support libraries either by searching or by using Dependency Analyzer in Android Studio and update them.

tibbe commented 4 days ago

Jetifier is marked as obsolete and should not be used. https://github.com/mikehardy/jetifier

Instead, you should migrate from using the com.android.support libraries in your project. You can identify the support libraries either by searching or by using Dependency Analyzer in Android Studio and update them.

Not really feasible until all the packages depending on it have migrated.