React-native-screens: android bug latest version

Created on 10 Dec 2020  路  12Comments  路  Source: software-mansion/react-native-screens

小薪懈屑芯泻 褝泻褉邪薪邪 2020-12-10 胁 14 17 33

After update from "react-native-screens": "2.15.0" to "react-native-screens": "2.16.0", android not bundled

Most helpful comment

And very quick correction. Thanx!

All 12 comments

Schermafbeelding 2020-12-10 om 13 26 39

Same!

I have this problem too:

..\node_modules\react-native-screens\android\src\main\java\com\swmansion\rnscreens\ScreenStack.java:189: error: cannot find symbol getOrCreateTransaction().setCustomAnimations(R.anim.rns_slide_in_from_right, R.anim.rns_slide_out_to_left); ^ symbol: variable rns_slide_in_from_right location: class anim

Same Here. Happened in the latest version "react-native-screens": "^2.16.0",

The same problem in 2 diffrent projects (both - react native cli).
2 solutions work:
1 - back to 2.15.0.
2 - (rude) comment in Java in 2 places where the vars are.

The same problem in 2 diffrent projects (both - react native cli).
2 solutions work:
1 - back to 2.15.0.
2 - (rude) comment in Java in 2 places where the vars are.

/home/maick/xMx/aaViewers/aAviewC/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStack.java:190: error: cannot find symbol
getOrCreateTransaction().setCustomAnimations(R.anim.rns_slide_in_from_right, R.anim.rns_slide_out_to_left);
^
symbol: variable rns_slide_in_from_right
location: class anim

Can you check if this regression is fixed in 2.16.1?

Can you check if this regression is fixed in 2.16.1?

Hang on, I'll check right away

Can you check if this regression is fixed in 2.16.1?

Steps:
yarn upgrade react-native-screens --latest
cd android
./gradlew clean
cd ..
yarn android

Confirmed working using react-native-cli
"react": "17.0.1",
"react-native": "0.63.4",

Thank you so much for your quick action @WoLewicki you're the MVP for the day!

Yes. The 2.16.1 solves the problem in my both projects.
In Android Studio now no errors.

Thanks for finding the bug so quick 馃挭 Since this is fixed now, I am closing this issue.

And very quick correction. Thanx!

Haha this caught me out for 15 minutes, cheers for the quick work!

Was this page helpful?
0 / 5 - 0 ratings