GithubHelp home page GithubHelp logo

Comments (4)

Mindgamesnl avatar Mindgamesnl commented on May 26, 2024

If you mean the okio, okhttp and socket.io

I use a standard socket.io libary which depends on okhttp which in turn depends on okio.

The problem is that they where designed with android in mind and so won't work in spigot (andriod function call's etc)

from openaudiomc.

games647 avatar games647 commented on May 26, 2024

I mean this (for example) https://github.com/Mindgamesnl/OpenAudioMc/tree/master/Plugin%20source%20code/src/okio

It looks like you just copied the contents from https://github.com/square/okio/tree/master/okio/src/main/java/okio into your source folder

from openaudiomc.

Mindgamesnl avatar Mindgamesnl commented on May 26, 2024

I know what you mean and yes the socketio and ok* are from there, what i mean is it was constantly screeming android class not found errors while testing with the maven version.

After playing with it for a night i tested copying it to the source but manualy removing all the referenses to android (since the stack trace) and this resolved the issue.

from openaudiomc.

games647 avatar games647 commented on May 26, 2024

I have no idea what you tried, but I removed the packages

  • okhttp3
  • io.socket
  • okio

and replaced them in Maven and it's working fine. I could connect to over with /connect and hear the music. The only thing I had to fix was a NPE for connecting to the server on join.

from openaudiomc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.