Built apk is not working

#1

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

#2

Hi @yajana,

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

#3

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.

#4

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

1 Like
#5

Awesome! Thanks for sharing the fix here :smile: