Meggy
Meggy

Reputation: 1671

Flutter/Dart - exception on URL that doesn't Exist anywhere in the project?

I'm using Android Studio and getting an error on a NetworkImage url which doesn't exist anywhere in the project. I've done a "Find in Path" (control shift F) from the top of the project and the URL doesn't appear anywhere. I'm utterly baffled. I recognize the URL from a site which I migrated away from. But I've replaced every single URL in the project so I don't know where it's coming from. Where could it be?

════════ Exception caught by image resource service ════════════════════════════════════════════════
The following SocketException was thrown resolving an image codec:
Failed host lookup: 'app.myurl.com' (OS Error: No address associated with hostname, errno = 7)

When the exception was thrown, this was the stack: 
Image provider: NetworkImage("https://app.myurl.com/63-user.jpg?v=1603283280800", scale: 1.0)
Image key: NetworkImage("https://app.myurl.com/63-user.jpg?v=1603283280800", scale: 1.0)

Upvotes: 0

Views: 104

Answers (1)

Serg Metelin
Serg Metelin

Reputation: 1114

Try flutter clean to clean the build cache.

Upvotes: 1

Related Questions