Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter application suddenly has no internet connection at all

Tags:

flutter

I am running my application on Android emulator.

I verified the emulator itself has internet connection. I could browse via Google Chrome. 2 months ago everything worked as expected, and I didn't touch the code. Suddenly, when I run it I have no internet access via the application.

What I did:

  1. I verified I have the internet permission: <uses-permission android:name="android.permission.INTERNET"/> in: android/app/src/[main|debug|profile]/AndroidManifest.xml.
  2. flutter doctor - everything is fine.

Any advice? observe? I cannot understand why would I lost the internet connectivity

like image 864
Tal Rofe Avatar asked Sep 02 '25 06:09

Tal Rofe


1 Answers

Reposting my comment, since it seemed to solve your issue.

In the past, I've faced such errors. In my case, it was caused by the antivirus software (namely, Kaspersky Antivirus) that ran on the host machine. Disabling it temporarily solved the issue entirely. Try disabling any antivirus software and see how it goes.

like image 75
Riwen Avatar answered Sep 04 '25 20:09

Riwen