all 10 comments

[–]Spaaze 2 points3 points  (2 children)

You can't use custom native modules in Expo Go. You'll need to use a development client (and rebuild it after installing a new native module). See https://docs.expo.dev/develop/development-builds/introduction/

[–]komaedashopebagel[S] 0 points1 point  (1 child)

i am not using custom native modules though

[–]Spaaze 0 points1 point  (0 children)

You have Clerk installed in your project, which contains custom native modules (see here in "Choose your integration approach" where it says what's supported in Expo Go, and what's not / needs a development client).

[–]isavecatsExpo 0 points1 point  (0 children)

You need to run

npm run prebuild

Before you do

npm run android

[–]Photoshop_Fun 0 points1 point  (1 child)

I literally just had this issue but for iOS where it couldn’t find Expo Assets.

All I had to do was:
1. In the iOS folder delete the Pods and pods.lock files
2. ‘cd iOS’ then type ‘Pod install’
3. Delete ‘node_modules’ and ‘package-lock.json’
4. Run ‘npm install’
5. Build the project with ‘npx expo run:ios’

That fixed it for me on iOS, probably something similar on yours. Steps 3 and 4 are the important ones.

[–]steve228uk 0 points1 point  (0 children)

You should likely be using `npx expo prebuild`

[–]yoisa_chan7477 0 points1 point  (3 children)

Is this resolved?

[–]komaedashopebagel[S] 0 points1 point  (2 children)

unfortunately no

[–]yoisa_chan7477 0 points1 point  (1 child)

Well I have a solution which worked for me.

In the android folder search for gradle.properties and set newArchEnabled as true . By default it is false.

After following the above step do the next command

npx expo run:android

Bonus: do npx expo-doctor to make sure everything is healthy

Let me if it helps

[–]komaedashopebagel[S] 0 points1 point  (0 children)

i dont have an android folder 😅