ibm mobilefirst - IBM Worklight Android Build and Deploy errors -


i building android application using ibm worklight. keep getting follow errors:

android build failed: java.net.unknownhostexception: nodename nor servname provided, or not known
application 'wellpointmobile' environment 'android' build finished errors.

how can stop these errors appearing in eclipse?

this not related worklight, os x , java.
have searched error in google?

see here: http://biomedicalontologies.com/2012/11/14/fixing-java-net-local-host-name-unknown-error-on-mac-os-x/

you can edit hosts file: open terminal and:

  1. type hostname; copy value.
  2. type sudo vi /etc/hosts; type password

    my hosts file looks this:

    127.0.0.1 mbp-idan localhost
    255.255.255.255 broadcasthost ::1 localhost

    you should see similar. add hostname after "127.0.0.1".

  3. log out of user account , log in. error should no longer happen in eclipse.

Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -