I’m completely new to Java. Now, by tutorials, I’m trying to use the Socket.io library (I’m using Android Studio). I added the library via Project Structure to Dependencies and imported classes in the project itself.
import io.socket.client.IO; import io.socket.client.Socket; public class LoginActivity extends AppCompatActivity { private Socket mSocket ; mSocket = IO.Socket('Localhost:8080') But on the last line, the error "Cannot resolve symbol 'Socket'
Why can this happen?