Hello tech gurus, if you are encountering this error whenever you want to build or run your react native app, here is the solution to that.
The error message suggests that you’re trying to run your React Native app on a physical Android device, but there’s no development build installed on the device. Here’s how to resolve it
Solution:
*Make sure you have EAS CLI installed; if not, install it with:
Command: npm install -g eas-cli
* Create a development build using Expo Application, run this command
Command: eas build --profile development --platform android
READ MORE:
Foods you can be eating without getting fat
* Run the below command to Configure the project Gradle and its executions
Command: npx expo run:android
NOTE: The above will start your project. Else Continue with the below step
* Run the Project on Your Device: After installing the development build, you can start the Metro bundler
Command: npx expo start --dev-client
NOTE: You can as well tap "a" during those time to start project on physical devices.
If it didn't work, tap "s" to switch to Expo Go
CONSULT OUR TEAM: Do you have an idea which you want us to develop for you, be it App, Software or Websites, Kindly contact us +2347063076212
SHARE THIS POST
0 comments:
Post a Comment