Built apk is not working

I have created an application using expo. It works file before building the apk. If I build a apk using expo build:android, the build expo is giving error as Uncaught Error: Invariant Violation: Element type is invalid: expected a string or class/function

Hi @yajana,

Could you share the full error message? This might be an issue with your imports/exports

Sorry I couldn’t copy error messages so I am attaching the screen shot. As I mentioned earlier it is working fine on expo start.

I got this issue resolved by changing version of react navigation to 6.0.0.

1 Like

Awesome! Thanks for sharing the fix here :smile:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.