Home > Blockchain >  Failed to intall the app in react native, how can I fix this?
Failed to intall the app in react native, how can I fix this?

Time:06-23

I was trying execute myapp to android but an error occurred.

To clarify what happened, first time I install nodejs and Android Studio.

Later I used the following commands:

  • npx react-native init 'app'
  • cd app
  • npx react-native run-android

Its my fisrt time messing with react native, I was following this page:

enter image description here

  • Second, if you are using Android Sdk emulator, please make sure that it configured correctly in emulator list in Android Studio. For an instance, I created a android emulator using android sdk-29 and you can check the followings.

enter image description here enter image description here enter image description here enter image description here enter image description here

  • Third, I recommend you, deploy first app on emulator in Android Studio. Because we need to download gradle zip file and others, it's essential to run your first android app in Android Studio. When you confirmed your first android app(Deploy empty project app is also okay), you can run your React Native App by Expo-cli or react-native-cli.
  • Related