Wednesday 22 May 2019

Flutter — Command /bin/sh failed with exit code 255 , Unable to load Asset  , No address associated with hostname



Flutter — iOS: Command /bin/sh failed with exit code 255


goto ios folder run below commands:
flutter clean
flutter build ios






SocketException: Failed host lookup: ‘node1.bitcoiin.com’ (OS Error: No address associated with hostname, errno = 7)


1.

Make sure you are online, you are connected to internet whether it is mobile or emulator

2.

make sure you have given internet permission in your app's android/app/src/main/AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" /> 




Unable to load Asset — wrong indentation in pubspec.yaml


Spaces are significant in YAML

assets is indented too far
flutter:
 uses-material-design: true
 assets:
 — images/default.png
 — images/cat.jpg

No comments:

Post a Comment

Bitnami - For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname.

For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname. login into your server using ssh or from ...