axelra-ag / react-native-animateable-text

🆎 A fork of React Native's <Text/> component that supports Animated Values!
https://www.npmjs.com/package/react-native-animateable-text
MIT License
360 stars 27 forks source link

Build fails for Android with React Native 0.66 #22

Closed jpudysz closed 2 years ago

jpudysz commented 2 years ago

Today I've encountered a problem while I was upgrading my app to React Native 0.66. Everything seems to work on iOS, but on Android, I'm getting the following error:

Steps to reproduce:

  1. Upgrade RN to v.0.66
  2. Compile Android

Stacktrace:

/node_modules/react-native-animateable-text/android/src/main/java/com/reactnativereanimatedtext/JBTextShadowNode.java:25: error: cannot find symbol
import com.facebook.react.bridge.ReactSoftException;
                                ^
  symbol:   class ReactSoftException
  location: package com.facebook.react.bridge
/node_modules/react-native-animateable-text/android/src/main/java/com/reactnativereanimatedtext/JBTextShadowNode.java:124: error: cannot find symbol
            ReactSoftException.logSoftException(
            ^
  symbol: variable ReactSoftException
/node_modules/react-native-animateable-text/android/src/main/java/com/reactnativereanimatedtext/JBTextShadowNode.java:
uses or overrides a deprecated API.
Recompile with -Xlint:deprecation for details.
Some input files use unchecked or unsafe operations.
Recompile with -Xlint:unchecked for details.

I'm using the latest version of your lib (0.7.0)