Compilation error

Started by Thomas., November 11, 2013, 12:57:53 PM

Previous topic - Next topic

Thomas.

I got this message, during the export signed application package.

[2013-11-11 12:54:26 - Game] Proguard returned with error code 1. See console
[2013-11-11 12:54:26 - Game] Warning: com.threed.jpct.BufferUtilNative: can't find referenced class com.badlogic.gdx.utils.BufferUtils

EgonOlsen

Shouldn't be a problem. That happens because no libgdx can Bd bound in the path. There's an option to add it and use it for faster buffer uploads on old devices.

Thomas.

I solved it by these lines

-dontwarn com.badlogic.gdx.**
-dontnote com.badlogic.gdx.**

EgonOlsen

#3
It's just a warning. Does this cause any problem except for a cosmetic one?

Irony

Yes, warnings seem to be treated as fatal errors in Proguard, at least when executed from Eclipse.

EgonOlsen

They just do what Thomas. suggested in the post above. I can do nothing about this except to remove support for Libgdx...which maybe i should do because it's rather pointless on current devices anyway.

EgonOlsen

Ok, i decided to remove it for the next release. Nobody is using it anyway as far as i know.