Is there a localhost for Android?

You can access your host machine with the IP address “10.0. 2.2 “. This has been designed in this way by the Android team. So your webserver can perfectly run at localhost and from your Android app you can access it via “http://10.0.2.2:8080”.

Sizin İçin Seçtik  Where do I put permissions in AndroidManifest flutter?

Leave a Reply

Your email address will not be published. Required fields are marked *