www.jpct.net

jPCT-AE - a 3d engine for Android => Bugs => Topic started by: Thomas. on November 11, 2013, 12:57:53 pm

Title: Compilation error
Post by: Thomas. on November 11, 2013, 12:57:53 pm
I got this message, during the export signed application package.

Code: [Select]
[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
Title: Re: Compilation error
Post by: EgonOlsen on November 11, 2013, 02:44:50 pm
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.
Title: Re: Compilation error
Post by: Thomas. on November 11, 2013, 02:49:12 pm
I solved it by these lines

Code: [Select]
-dontwarn com.badlogic.gdx.**
-dontnote com.badlogic.gdx.**
Title: Re: Compilation error
Post by: EgonOlsen on November 11, 2013, 02:57:14 pm
It's just a warning. Does this cause any problem except for a cosmetic one?
Title: Re: Compilation error
Post by: Irony on December 14, 2013, 09:01:40 pm
Yes, warnings seem to be treated as fatal errors in Proguard, at least when executed from Eclipse.
Title: Re: Compilation error
Post by: EgonOlsen on December 14, 2013, 09:41:20 pm
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.
Title: Re: Compilation error
Post by: EgonOlsen on December 14, 2013, 09:50:36 pm
Ok, i decided to remove it for the next release. Nobody is using it anyway as far as i know.