3

I have downloaded zip fil from github, did npm install, and run react-native start android.

I receiver the following:

Now when i open the browser it say

enter image description here

My android emulator is opened but not connected. No error messages. enter image description here

Any help how to run the project. The project is in github: https://github.com/itzpradip/react-navigation-v5-mix.

Thanks sal

sal abb
  • 111
  • 2
  • 12

3 Answers3

3

I had the very same issue. Adding this to the android manifest did the trick:

<application
...
android:usesCleartextTraffic="true">
...
</application>

references:

Eduardo Lima
  • 316
  • 1
  • 2
  • 10
0

if you don't install this app on your device , you must use

react-native run android

to install app , then go for next try you can use start and open app manually

Meisan Saba
  • 800
  • 2
  • 9
  • 25
  • i dont think that is required. if i have project folder, i need to run npm install, to add all dependencies – sal abb Aug 30 '20 at 22:06
  • npm install , add all your project dependencies in nodemodule folder , you need react-native run android for install app on device – Meisan Saba Aug 31 '20 at 03:01
  • did you mean, that i have project folder inside the filer where there is node module folder? – sal abb Sep 01 '20 at 03:11
  • also i have android studio in my desktop, i m not using external device. – sal abb Sep 01 '20 at 03:11
  • u can open android folder in android studio and build your project in emulator , after install successfully app you can run your project with __react-native start__ – Meisan Saba Sep 01 '20 at 03:54
0

You need to install the app on your emulator by running

npm run android

or

npx react-native run android

then start your mentor server by

npm start
U.A
  • 2,991
  • 3
  • 24
  • 36