Why Expo go app not working. But in my browser it works.
Again I create with "npm init" and again did same process .This time no errors .I used Expo App from started instead of Web as a emulator. The reason for this problem is in web Emulator not showing some errors
related to the real emulators.
Related
I'm trying to run my React-native app with the command expo start from my terminal and when I'm trying to access my app from my Android phone, here's the error I get :
Could not get BatchedBridge make sure your bundle is packaged correctly
It seems the error appears from time to time (I saw some topics over there) but none of the solutions worked for me.
Here the versions of expo and react :
"expo": "~46.0.7",
"react": "^18.0.0",
"react-native": "^0.69.6",
A lot of answers concerned the upgrade of react-native package but I can't do that because of my expo version.
Does someone ever faced a similar problem using expo and react-native ?
Thanks :)
From my MacOS terminal, I tried :
expo start
Then, from my Android mobile, I scanned the QR code which launched the app.
The splash screen appeared for a second and the error message appeared.
I am new to React development and I have been trying to run my application locally. Any advice for the following problems is greatly appreciated! I have been trying to fix this for weeks with no success.
Version context:
Versions of node, yarn, npm, and expo that I am using
When I run yarn IOS or expo start IOS/android, Metro Bundler does not open in browser. While there are critical dependency issues with expo-cli, the simulators themselves open correctly.
Metro bundler starts and does not open in browser
Opening the web simulation works perfectly fine; however, the IOS and Android simulators do not open. Here are the following errors.
justifyContent error
Main not registered error
All was resolved. I was unable to find justifyContent error in the past but I used VS Code to find it in one of my src files.
I'm new to react-native, Android studio(for testing purposes).
What I'm trying to do?
well, I have build an a react native app using create-react-native and then I got the app, I've installed Android-studio then, No Issue.
what went wrong?
When I run the app using yarn android which is pretty much recommended by them, I got this error
info Launching emulator...
error Failed to launch emulator. Reason: Could not start emulator within 30 seconds..
warn Please launch an emulator manually or connect a device. Otherwise app may fail to launch.
What I've tried so far ...?
I have tried to launch it manually but it doesn't connect to the app.
Launch it manually means:
1- yarn start
2- launching the simulator from inside the Android studio
Supposedly the two ways you can start a react native android app are:
react-native run-android via command line
OR
Open your project in android studio and press Run.
The issues I am experiencing are that using option 1, i will get an error that no devices are available:
com.android.builder.testing.api.DeviceException: No connected devices!
and using option 2 results in an emulator starting and the installation of the app successfully, but the JS packager doesnt start as part of this flow.
Now sure, I can easily get around this by either
Run the packager manually before starting the app in Studio
Starting an emulator before running react-native run-android
but it seems like this is indicative of a problem somewhere
I have checked out this similar question here React Native: Android Studio doesn't automatically bundle when building but that is unrelated to whats happening to me
When I am trying to run app on android device using ionic run android, it is showing the build and launch as successful.
On device, it is showing
app_name stopped working
I searched a lot and tried installing plugins again, not working. I'm not using ionic-keyboard plugin. Any help would be appreciated.
UPDATE: When I'm using ionic serve --lab, it is showing perfectly on browser with some of the plugins not working because browser doesn't support all the cordova plugins. That's fine.
ionic platform add android shows at the end
saving platform to package.json file
believe something to do with ionic-keyboard. can you try installing keyboard plugin once and checking the app if it works or not. Thus we will have some RCA.
Can't run Ionic on Android: class not found exception IonicKeyboard