question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't build Android release since 2.3.0 version

See original GitHub issue

Description

Hello 👋,

I can’t build Android release since react-native-reanimated: 2.3.0.

Expected behavior

Can build AAB release

Actual behavior & steps to reproduce

An error when I build the app Debug or Release :

> Task :react-native-reanimated:compileReleaseJavaWithJavac FAILED
/Users/runner/work/1/s/packages/***/node_modules/react-native-reanimated/android/expo/src/main/java/expo/modules/adapters/reanimated/EXReanimatedPackage.java:18: error: <anonymous expo.modules.adapters.reanimated.EXReanimatedPackage$1> is not abstract and does not override abstract method getBundleAssetName(boolean) in expo.modules.core.interfaces.ReactNativeHostHandler
    final ReactNativeHostHandler handler = new ReactNativeHostHandler() {
                                                                        ^
1 error

FAILURE: Build failed with an exception.

To reproduce, just init a bare workflow project with Expo and reanimated, and try to build debug release with Android Studio.

Package versions

"expo": "^43.0.4",
"react-native-reanimated": "~2.3.0",
"react-native": "~0.64.3",
  • NodeJS: 8.1.1
  • Gradle : 4.2.2
  • Java:
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)

Affected platforms

  • Android
  • iOS
  • Web

Thanks 🙏

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
piaskowykcommented, Dec 8, 2021

Hello! Unfortunately, Expo SDK 43 does not support Reanimated 2.3.0 yet as it comes with brand new native code for layout animations etc. Hopefully it will be included in Expo SDK 44 coming soon!

0reactions
pairohit305commented, Dec 9, 2021

@pronevich I am using expo 43 with bare RN build

Read more comments on GitHub >

github_iconTop Results From Across the Web

cannot build project after upgrading Android Studio to 2.3
So, happily updated my Android Studio from stable version 2.2 to canary channel 2.3. But, unfortunately, it has serious bug. Project is not...
Read more >
Build and run your app - Android Developers
If you have an app with multiple build variants or versions, you can choose which build variant to deploy by using the Build...
Read more >
Release Notes - Play services
Deprecated the video recording feature. Disabled video recording via Play Games services for Android SDK version 33 and higher. Artifacts released on maven....
Read more >
Cant build project with Android Studio 2.3 and Gradle-kotlin
extract that to ' C:\Program Files\Android\Android Studio\gradle ' · open android studio and go to ' File>Setting>Build, Execution,Deployment>Gradle ' and choose ...
Read more >
Android studio 2.3 gradle build tools error
I'm getting mad, after updating android studio 2.2 to 2.3 i can't create and edit any project because gradle get error:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found