Answer the question
In order to leave comments, you need to log in
Fix Flutter Image.network (Error=7)?
The following SocketException was thrown resolving an image codec:
Failed host lookup: 'i.pinimg.com' (OS Error: No address associated with hostname, errno = 7)
When the exception was thrown, this was the stack
Image provider: NetworkImage( " https://i.pinimg.com/originals/7d/8f/34/7d8f34dc8e... ", scale: 1.0)
Image key: NetworkImage(" https://i.pinimg.com/originals/7d/8f /34/7d8f34dc8e... ", scale: 1.0)
Expanded(
child: Image.network(' https://i.pinimg.com/originals/7d/8f/34/7d8f34dc8e... '
),
),
added in AndroidManifest.xml
I do not use a proxy.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question