wix / react-native-ui-lib

UI Components Library for React Native

Home Page:https://wix.github.io/react-native-ui-lib/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Native 0.73 - Android does not compile anymore

santhosh-umapathi-appymango opened this issue · comments

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

  1. Upgrade RN to the latest version 0.73
  2. 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