ChatApp icon indicating copy to clipboard operation
ChatApp copied to clipboard

Unable ro run the app

Open NatnaelGebremichael opened this issue 2 years ago • 2 comments

This issue occurs after cloning the project installing yarn running expo start then (a) to run the android emulator

image image

image

can you check why this is happening?

NatnaelGebremichael avatar Dec 30 '22 01:12 NatnaelGebremichael

This issue occurs after cloning the project installing yarn running expo start then (a) to run the android emulator

image image

image

can you check why this is happening?

same here

NexorCodes avatar May 18 '23 19:05 NexorCodes

Hey @NatnaelGebremichael, can you provide some information about your Android Emulator device?

I tested this and it ✅ works fine on a Pixel_4_API_32 (Android Emulator). As mentioned here in the Known Issues, you might have to upgrade few packages.

Possible ways to fix this

  1. Check the versions of expo, react-native and upgrade them, + make sure the Expo Go (app) version on your emulator / android device is up to date as well.
  2. Try deleting the node_modules folder, clearing cache and running the yarn command. This will autogenerate a yarn.lock file. After which yarn start or npx expo start should work.
  3. Check your config variables for Firebase and make sure the variable names in your .env file matches the app.config.js file.
  4. If your firebase environment variables are causing issues: You might have to check your env file, .env.local didn't work for me, so I created a .env file instead and try logging your Constants.expoConfig to make sure they are working!

This should help you get the app on Android running!

harshithasompura avatar Jan 27 '24 19:01 harshithasompura