Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29465

Running react-native app in Android Studio on AVD returns url==null

$
0
0

When trying to run react-native app in Android Studio on an AVD (Pixel XL API 29) I'm getting the following error when launching the app inside the device:

url==null

I start the server npm run start each time before running the app inside Android Studio.

The app runs perfectly on iOS emulator inside XCode and builds with no errors.

The build output in Android Studio is also completed successfully each time. If I close the error message (below) - I can see the app navigation but none of the content loads (offline) and I can't click any of the buttons.

I thought it may be down to the websocket (I'm using the live url) but that didn't fix thing's either. I've searched google and have seen only a couple of these errors but nothing that could help me or fix my specific problem.

Is there any files I'm missing in android studio?

url==null


Viewing all articles
Browse latest Browse all 29465

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>