Skip to main content
added 265 characters in body
Source Link

I'm using this library to connect to websocket server: https://github.com/czyzby/gdx-lml/tree/master/websocket

It's working on android/desktop applications, but when compiling to html gwt app with html:dist command it returns many errors for websocket classes, this is one of them:

[ERROR] Line 25: No source code is available for type com.github.czyzby.websocket.WebSocket; did you forget to inherit a required module?

I added all required libraries:

project(":core") {
   implementation "com.github.czyzby:gdx-websocket:1.9.1.9.6"
}

project(":html") {
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6"
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6:sources"
}

And in GdxDefinition.gwt.xml I added:

<inherits name='com.github.czyzby.websocket.GdxWebSocketGwt' />

But i don't know why I'm still getting this error with no source code available. Anyone knows how to resolve this issue?

Solution: I downgraded websocket gwt library version in html module to

api 'com.github.czyzby:gdx-websocket-gwt:1.8.1.9.4'
api 'com.github.czyzby:gdx-websocket-gwt:1.8.1.9.4:sources'

And now it sees the source code for all websocket classes.

I'm using this library to connect to websocket server: https://github.com/czyzby/gdx-lml/tree/master/websocket

It's working on android/desktop applications, but when compiling to html gwt app with html:dist command it returns many errors for websocket classes, this is one of them:

[ERROR] Line 25: No source code is available for type com.github.czyzby.websocket.WebSocket; did you forget to inherit a required module?

I added all required libraries:

project(":core") {
   implementation "com.github.czyzby:gdx-websocket:1.9.1.9.6"
}

project(":html") {
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6"
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6:sources"
}

And in GdxDefinition.gwt.xml I added:

<inherits name='com.github.czyzby.websocket.GdxWebSocketGwt' />

But i don't know why I'm still getting this error with no source code available. Anyone knows how to resolve this issue?

I'm using this library to connect to websocket server: https://github.com/czyzby/gdx-lml/tree/master/websocket

It's working on android/desktop applications, but when compiling to html gwt app with html:dist command it returns many errors for websocket classes, this is one of them:

[ERROR] Line 25: No source code is available for type com.github.czyzby.websocket.WebSocket; did you forget to inherit a required module?

I added all required libraries:

project(":core") {
   implementation "com.github.czyzby:gdx-websocket:1.9.1.9.6"
}

project(":html") {
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6"
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6:sources"
}

And in GdxDefinition.gwt.xml I added:

<inherits name='com.github.czyzby.websocket.GdxWebSocketGwt' />

But i don't know why I'm still getting this error with no source code available. Anyone knows how to resolve this issue?

Solution: I downgraded websocket gwt library version in html module to

api 'com.github.czyzby:gdx-websocket-gwt:1.8.1.9.4'
api 'com.github.czyzby:gdx-websocket-gwt:1.8.1.9.4:sources'

And now it sees the source code for all websocket classes.

I'm using this library to connect to websocket server: https://github.com/czyzby/gdx-lml/tree/master/websocket

It's workworking on android/desktop applications, but when compilecompiling to html gwt app with html:dist command it returns many errors for websocket classes, this is one of them:

[ERROR] Line 25: No source code is available for type com.github.czyzby.websocket.WebSocket; did you forget to inherit a required module?

I added all required libraries:

project(":core") {
   implementation "com.github.czyzby:gdx-websocket:1.9.1.9.6"
}

project(":html") {
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6"
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6:sources"
}

And in GdxDefinition.gwt.xml iI added:

<inherits name='com.github.czyzby.websocket.GdxWebSocketGwt' />

But i dontdon't know why i'mI'm still getting this error with no source code available.. Anyone knows how to resolve this issue  ?

I'm using this library to connect to websocket server: https://github.com/czyzby/gdx-lml/tree/master/websocket

It's work on android/desktop applications, but when compile to html gwt app with html:dist command it returns many errors for websocket classes, this is one of them:

[ERROR] Line 25: No source code is available for type com.github.czyzby.websocket.WebSocket; did you forget to inherit a required module?

I added all required libraries:

project(":core") {
   implementation "com.github.czyzby:gdx-websocket:1.9.1.9.6"
}

project(":html") {
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6"
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6:sources"
}

And in GdxDefinition.gwt.xml i added:

<inherits name='com.github.czyzby.websocket.GdxWebSocketGwt' />

But i dont know why i'm still getting this error with no source code available.. Anyone knows how to resolve this issue  ?

I'm using this library to connect to websocket server: https://github.com/czyzby/gdx-lml/tree/master/websocket

It's working on android/desktop applications, but when compiling to html gwt app with html:dist command it returns many errors for websocket classes, this is one of them:

[ERROR] Line 25: No source code is available for type com.github.czyzby.websocket.WebSocket; did you forget to inherit a required module?

I added all required libraries:

project(":core") {
   implementation "com.github.czyzby:gdx-websocket:1.9.1.9.6"
}

project(":html") {
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6"
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6:sources"
}

And in GdxDefinition.gwt.xml I added:

<inherits name='com.github.czyzby.websocket.GdxWebSocketGwt' />

But i don't know why I'm still getting this error with no source code available. Anyone knows how to resolve this issue?

added 2 characters in body
Source Link

I'm using this library to connect to websocket server: https://github.com/czyzby/gdx-lml/tree/master/websocket

It's work on android/desktop applications, but when compile to html gwt app with html:dist command it returns many errors for websocket classes, this is one of itthem:

[ERROR] Line 25: No source code is available for type com.github.czyzby.websocket.WebSocket; did you forget to inherit a required module?

I added all required libraries:

project(":core") {
   implementation "com.github.czyzby:gdx-websocket:1.9.1.9.6"
}

project(":html") {
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6"
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6:sources"
}

And in GdxDefinition.gwt.xml i added:

<inherits name='com.github.czyzby.websocket.GdxWebSocketGwt' />

But i dont know why i'm still getting this error with no source code available.. Anyone knows how to resolve this issue ?

I'm using this library to connect to websocket server: https://github.com/czyzby/gdx-lml/tree/master/websocket

It's work on android/desktop applications, but when compile to html gwt app with html:dist command it returns many errors for websocket classes, this is one of it:

[ERROR] Line 25: No source code is available for type com.github.czyzby.websocket.WebSocket; did you forget to inherit a required module?

I added all required libraries:

project(":core") {
   implementation "com.github.czyzby:gdx-websocket:1.9.1.9.6"
}

project(":html") {
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6"
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6:sources"
}

And in GdxDefinition.gwt.xml i added:

<inherits name='com.github.czyzby.websocket.GdxWebSocketGwt' />

But i dont know why i'm still getting this error with no source code available.. Anyone knows how to resolve this issue ?

I'm using this library to connect to websocket server: https://github.com/czyzby/gdx-lml/tree/master/websocket

It's work on android/desktop applications, but when compile to html gwt app with html:dist command it returns many errors for websocket classes, this is one of them:

[ERROR] Line 25: No source code is available for type com.github.czyzby.websocket.WebSocket; did you forget to inherit a required module?

I added all required libraries:

project(":core") {
   implementation "com.github.czyzby:gdx-websocket:1.9.1.9.6"
}

project(":html") {
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6"
   implementation "com.github.czyzby:gdx-websocket-gwt:1.9.1.9.6:sources"
}

And in GdxDefinition.gwt.xml i added:

<inherits name='com.github.czyzby.websocket.GdxWebSocketGwt' />

But i dont know why i'm still getting this error with no source code available.. Anyone knows how to resolve this issue ?

Source Link
Loading