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
My android emulator is opened but not connected. No error messages.
Any help how to run the project. The project is in github: .
Thanks sal
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
My android emulator is opened but not connected. No error messages.
Any help how to run the project. The project is in github: https://github./itzpradip/react-navigation-v5-mix.
Thanks sal
Share Improve this question asked Aug 29, 2020 at 21:02 sal abbsal abb 1211 gold badge2 silver badges12 bronze badges 5- check adb devices – anthony willis muñoz Commented Aug 29, 2020 at 21:36
- thanks anthony , but i could not locate adb.exe – sal abb Commented Aug 30, 2020 at 0:29
- just added path to adb.exe to the enironment variables. still same issue – sal abb Commented Aug 30, 2020 at 0:53
- u did fine ? when u use adb devices it show ur devices – anthony willis muñoz Commented Aug 30, 2020 at 2:12
- yes i found it. but that didnt resolve. i had another project that i saved. that worked just fine and connected with emulator.since i m new, , and this is my first time importing github project. but i have seen this issue remain unresolved in various forums. – sal abb Commented Aug 30, 2020 at 2:23
3 Answers
Reset to default 5I had the very same issue. Adding this to the android manifest did the trick:
<application
...
android:usesCleartextTraffic="true">
...
</application>
references:
- https://github./facebook/react-native/issues/15388
- Android 8: Cleartext HTTP traffic not permitted
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
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