React Native 0.73 - Android does not compile anymore
santhosh-umapathi-appymango opened this issue · comments
Santhosh Umapathi commented
Description
After upgrading to RN 0.73, Android does not compile anymore, and throws the following error,
com.android.tools.r8.internal.Ub: Invalid empty classfile
Related to
Android
Steps to reproduce
- Upgrade RN to the latest version 0.73
- Compile the Android app
Expected behavior
Android to build the app
Actual behavior
Fails due to latest changes from RN upgrade, which has made changes to .jar file
More Info
Code snippet
Transform classes.jar (project :react-native-ui-lib) with DexingNoClasspathTransform AGPBI: {"kind":"error","text":"com.android.tools.r8.internal.Ub: Invalid empty classfile","sources":[{"file":"/Users/username/project-name/node_modules/react-native-ui-lib/lib/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar"}],"tool":"D8"}
Screenshots/Video
Environment
- React Native version: 0.73.0
- React Native UI Lib version: 7.12.2
Affected platforms
- [ X ] Android
- iOS
- Web