François Richard
François Richard

Reputation: 7055

expo run:android Error: Cannot find native module 'ExpoImage', js engine: hermes`

No idea what's going on it's working on web, expo-image is installed

  Error: Cannot find native module 'ExpoImage', js engine: hermes 
    at ContextNavigator (http://192.168.1.14:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:149634:24)
    at ExpoRoot (http://192.168.1.14:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:149590:28)
    at App
    at ErrorToastContainer (http://192.168.1.14:8081/node_modules/expo-router/entry.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:335132:24)
    at ErrorOverlay

Upvotes: 3

Views: 572

Answers (1)

dkorsakas
dkorsakas

Reputation: 177

I had the same issue

I rebuilt and reinstalled the app on the Android emulator and then it started working

I ran this command for rebuilding eas build --platform android --profile development

of course, you need to choose the correct platform and profile for you, more information can be found in expo docs https://docs.expo.dev/tutorial/eas/android-development-build/

this solution also worked here https://github.com/expo/expo/issues/23304#issuecomment-1631529177

Upvotes: 0

Related Questions