I recently began development on an app using typescript in react native. I am using expo to run my app which so far has worked fine on web browser. However, now that I want to test it on my android phone, I am getting the following error:
Uncaught Error: java.io.IOException: Failed to download remote update 16:43:46 Fatal Error
I have been using a USB cable to download my app to my phone. I have developer mode enabled and have been able to use my phone to run apps in the past when using android studio. However, I am now using VSCode and npx expo start
in the terminal to run my app now that I am using react native.
When I run my code, it seems to transfer to my phone fine. However, once on my phone, the app shows a loading screen for about a minute, before displaying the error. The error only displays on the screen of my phone (no errors are displayed in the terminal on my laptop).
Any help or suggestions would be appreciated as I am new to mobile development using react native.
Thanks!