Skip to content Skip to sidebar Skip to footer

Android Developpement, Gottox Socket.io-java-client: File Not Fount Exception /socket.io/1/

here is my problem: i've been trying to use socket.io-java-client for an android app but i'm ending up with an handshake error (see below). here is my app source code: public void

Solution 1:

I solved the problem today by reverting to an earlier version of socket.io on the server-side (an earlier version of the socket.io Node module). Perhaps the protocol changed?

To do this:

  1. Delete the socket.io folder in your node_modules folder.

  2. On the console type:

npm install socket.io@0.9.16

That should do it... it worked for me :)

(obviously this doesn't completely solve the problem but the earlier version of socket.io worked fine for me for my purposes)

Post a Comment for "Android Developpement, Gottox Socket.io-java-client: File Not Fount Exception /socket.io/1/"