Menu

1 / 2

3 Expo SDK 56 Bugs That Crashed My App Before It Even Launched

DEV Community: expo·Diven Rastdus·5 months ago
#q0hW7xgx
#dev#expo#gradle#article#audio
Reading 0:00
15s threshold

I burned four EAS cloud builds and two hours chasing crashes that had nothing to do with my code. All three bugs came from Expo SDK 56 defaults that silently break Android builds. Here's each one and how to fix it.

Bug 1: expo-av crashes with NoClassDefFoundError

I added voice recording to a dream journal app. The Expo docs for Audio still reference expo-av in some examples. So I installed it:

npx expo install expo-av

Enter fullscreen mode

Exit fullscreen mode

The app compiled. TypeScript was happy. Then the EAS build failed on Android with:

java.lang.NoClassDefFoundError: Failed resolution of: Lio/expo/modules/video/VideoViewModel;

Enter fullscreen mode

Exit fullscreen mode

The expo-av package pulls in video dependencies. In SDK 56, the video module was extracted to a separate expo-video package. The old monolith references classes that no longer exist.

The fix: expo-av is deprecated starting SDK 55. Use expo-audio for audio and expo-video for video.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.