App Doesn't run on android

I am learning React Native using expo.

Problem
First everything was working. then somehow every time I open android to emulate my app it doesn’t work it shows the next:
Blue Screen with something went wrong
and in view log error:
Uncaught Error: java.lang.illegalArgumentException: bad-base-64

What did I try:

  • Uninstall And re-install Expo Go
  • Install Older Version
  • Creating new Project
  • Uninstalling create-expo-app and re-installing it.

Note: my phone Xiomi Note 10 pro.

I tried expo start
now shows me those errors:
Error: Invalid sdkVersion. Valid options are 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0, 12.0.0, 13.0.0, 14.0.0, 15.0.0, 16.0.0, 17.0.0, 18.0.0, 19.0.0, 20.0.0, 21.0.0, 22.0.0, 23.0.0, 24.0.0, 25.0.0, 26.0.0, 27.0.0, 28.0.0, 29.0.0, 30.0.0, 31.0.0, 32.0.0, 33.0.0, 34.0.0, 35.0.0, 36.0.0, 37.0.0, 38.0.0, 39.0.0, 40.0.0, 41.0.0, 42.0.0, 43.0.0, 44.0.0, 45.0.0, 46.0.0
and when I press a again it shows me:
Error: socket hang up at connResetException (node:internal/errors:691:14) at TLSSocket.socketOnEnd (node:_http_client:466:23) at TLSSocket.emit (node:events:532:35) at endReadableNT (node:internal/streams/readable:1346:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) Error: Request failed with status code 403 at createError (/home/hroot/.nvm/versions/node/v16.14.0/lib/node_modules/expo-cli/node_modules/axios/lib/core/createError.js:16:15) at settle (/home/hroot/.nvm/versions/node/v16.14.0/lib/node_modules/expo-cli/node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (/home/hroot/.nvm/versions/node/v16.14.0/lib/node_modules/expo-cli/node_modules/axios/lib/adapters/http.js:260:11) at IncomingMessage.emit (node:events:532:35) at endReadableNT (node:internal/streams/readable:1346:12) at processTicksAndRejections (node:internal/process/task_queues:83:21)

Try to update your app.json with the following line:

"sdkVersion": "32.0.0", "platforms": [ "ios", "android" ]

you could also choose a higher sdkVersion if needed.

If that does not help, try to update your Expo version. If you are using an emulator try:

expo client:install:android

if you are using a real device, try reinstalling the expo app.
After that, remove your node_modules and your lock file, install it again and start your app with expo start -c to clear the cache.

Hope that helps!

It is no longer necessary to put the sdkVersion in app.json and I believe it’s not recommended. Also SDK 32 is pretty old now.

I’m surprised at the huge range of SDK versions printed there. I wonder if your node_modules were deleted or something like that? Maybe try reinstalling your dependencies with npm install or yarn (depending on which one you use).