[android] URGENT -> cannot build app: <anonymous expo.modules.adapters.reanimated.EXReanimatedPackage$1> is not abstract and does not override abstract method getBundleAssetName(boolean)
See original GitHub issueDescription
I cannot build the android version of my app since updating to the newest version of Reanimated. I’m using expo dev client.
Expected behavior
Installation successful
steps to reproduce
delete android dir expo run:android --device
Error
> Task :react-native-reanimated:compileDebugJavaWithJavac FAILED
/Users/marius/Projekte/cabernet-und-co/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.
* What went wrong:
Execution failed for task ':react-native-reanimated:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 33s
451 actionable tasks: 451 executed
/Users/marius/Projekte/cabernet-und-co/android/gradlew exited with non-zero code: 1
Error: /Users/marius/Projekte/cabernet-und-co/android/gradlew exited with non-zero code: 1
at ChildProcess.completionListener (/usr/local/lib/node_modules/expo-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13)
at Object.onceWrapper (node:events:434:26)
at ChildProcess.emit (node:events:327:20)
at maybeClose (node:internal/child_process:1048:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
...
at spawnAsync (/usr/local/lib/node_modules/expo-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19)
at spawnGradleAsync (/usr/local/lib/node_modules/expo-cli/src/commands/run/android/spawnGradleAsync.ts:83:18)
at assembleAsync (/usr/local/lib/node_modules/expo-cli/src/commands/run/android/spawnGradleAsync.ts:57:16)
at actionAsync (/usr/local/lib/node_modules/expo-cli/src/commands/run/android/runAndroid.ts:143:9)
Package versions
- React Native: 0.64.3
- React Native Reanimated: 2.3.0
- Expo: 43
Affected platforms
- Android
- iOS
- Web
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Error: ConstantsService is not abstract and does not override ...
I needed to remove the unimodules package and move to the expo one: https://docs.expo.dev/bare/installing-expo-modules/.
Read more >:react-native-reanimated:compiledebugjavawithjavac - You.com
EXReanimatedPackage$1 > is not abstract and does not override abstract method getBundleAssetName(boolean) in expo.modules.core.interfaces.
Read more >Updates - Expo Documentation
Such an app will not open the latest JavaScript from your development server — it will load published updates just as a release...
Read more >expo-updates - npm
Debug builds of Android apps do not, by default, have any assets bundled into the APK; they are always loaded at runtime from...
Read more ><anonymous com.bignerdranch.android.geoquiz.QuizActivity ...
I'm trying to build the app using android studio at the end of chapter 1 ... QuizActivity$1> is not abstract and does not...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

we’ve published
expo@43.0.4andexpo-modules-core@0.4.9for theEXReanimatedPackage is not abstract and does not override abstract methodissue. you could probably runyarn upgrade expoto upgrade both. if this doesn’t works for you, please share youryarn why expo-modules-coreoutput with us. thanks!for
Attempt to invoke interface method 'boolean com.swmansion.reanimated.layoutReanimation.NativeMethodsHolder.isLayoutAnimationEnabled()' on a null object referenceissue, it seems to be another problem and i cannot reproduce locally. maybe you can create a new issue with minimal reproducible example. reanimated team or we will happy to help with that.That was quick, thanks!
yarn upgrade expowent fine. Other problem still exists, I will create a new Issue for that. -> https://github.com/software-mansion/react-native-reanimated/issues/2702