java.lang.NoSuchMethodError

No virtual method callEnqueue(Lokhttp3/Call;Lokhttp3/Callback;Z)V in class Lokhttp3/internal/Internal; or its super classes (declaration of 'okhttp3.internal.Internal' appears in /data/app/com.myproj.sample-2/base.apk)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web8

  • via Stack Overflow by UrielUVD
    ,
  • via GitHub by oliverhausler
    ,
  • Stack trace

    • java.lang.NoSuchMethodError: No virtual method callEnqueue(Lokhttp3/Call;Lokhttp3/Callback;Z)V in class Lokhttp3/internal/Internal; or its super classes (declaration of 'okhttp3.internal.Internal' appears in /data/app/com.myproj.sample-2/base.apk) at okhttp3.ws.WebSocketCall.enqueue(WebSocketCall.java:108) at io.socket.engineio.client.transports.WebSocket.doOpen(WebSocket.java:73) at io.socket.engineio.client.Transport$1.run(Transport.java:75) at io.socket.thread.EventThread.exec(EventThread.java:50) at io.socket.engineio.client.Transport.open(Transport.java:70) at io.socket.engineio.client.Socket.probe(Socket.java:458) at io.socket.engineio.client.Socket.onOpen(Socket.java:471) at io.socket.engineio.client.Socket.onHandshake(Socket.java:512) at io.socket.engineio.client.Socket.onPacket(Socket.java:485) at io.socket.engineio.client.Socket.access$900(Socket.java:30) at io.socket.engineio.client.Socket$5.call(Socket.java:299) at io.socket.emitter.Emitter.emit(Emitter.java:117) at io.socket.engineio.client.Transport.onPacket(Transport.java:127) at io.socket.engineio.client.transports.Polling$2.call(Polling.java:124) at io.socket.engineio.parser.Parser.decodePayload(Parser.java:251) at io.socket.engineio.client.transports.Polling._onData(Polling.java:134) at io.socket.engineio.client.transports.Polling.onData(Polling.java:106) at io.socket.engineio.client.transports.PollingXHR$5$1.run(PollingXHR.java:113) at io.socket.thread.EventThread$2.run(EventThread.java:75) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.