Trying to compile gaggle

24 views
Skip to first unread message

sly (sylvain letuffe)

unread,
Mar 19, 2012, 2:57:10 PM3/19/12
to gaggle...@googlegroups.com
Any one tried recently to compile gaggle with eclipse/adt/and all ?

I'm failling with
"The method getBoolean(Context, String, boolean) is undefined for the type
PreferenceUtil"
in /src/com/geeksville/gaggle/AudioVario.java

And don't really know what I'm missing or where to search for answers or
missing package/class

--
sly
qui suis-je : http://sly.letuffe.org
email perso : sylvain chez letuffe un point org

Marc

unread,
Mar 19, 2012, 3:01:45 PM3/19/12
to gaggle...@googlegroups.com
On 03/19/2012 07:57 PM, sly (sylvain letuffe) wrote:
> Any one tried recently to compile gaggle with eclipse/adt/and all ?
>
> I'm failling with
> "The method getBoolean(Context, String, boolean) is undefined for the type
> PreferenceUtil"
> in /src/com/geeksville/gaggle/AudioVario.java
>
> And don't really know what I'm missing or where to search for answers or
> missing package/class

Hi,

I have no problem compiling gaggle... Which version of the SDK are you
using ? I've also had problem with the java version (the project does
not force any and defaults to eclipse, which in turns defaults to what's
installed on your system).

Marc

PS: this discussion could be moved to the gaggle dev ml ?


Marc

unread,
Mar 27, 2012, 2:32:53 PM3/27/12
to gaggle...@googlegroups.com
On 03/19/2012 07:57 PM, sly (sylvain letuffe) wrote:
> Any one tried recently to compile gaggle with eclipse/adt/and all ?
>
> I'm failling with
> "The method getBoolean(Context, String, boolean) is undefined for the type
> PreferenceUtil"
> in /src/com/geeksville/gaggle/AudioVario.java

That's weird, as I have this method in the PreferenceUtil class, around
line 63:

public static boolean getBoolean(Context context, String prefsname,
boolean defaultValue) {


Don't you have an error in this PreferenceUtil, located in the
shared/com/geeksvile/android ?

My best guess would be to update the shared submodule (git submodule
update)...

Marc

sly (sylvain letuffe)

unread,
Mar 28, 2012, 7:22:29 AM3/28/12
to gaggle...@googlegroups.com
hi,

> That's weird, as I have this method in the PreferenceUtil class, around
> line 63:
>
> public static boolean getBoolean(Context context, String prefsname,
> boolean defaultValue) {
>
>
> Don't you have an error in this PreferenceUtil, located in the
> shared/com/geeksvile/android ?
>
> My best guess would be to update the shared submodule (git submodule
> update)...

Ooops, I completly forgot about submodule and that was exactly my problem
because I still had an older version of the shared submodule in my
repository.

Which mean I also screwed up the submodule's head in my previous commit wich I
merged upstream resulting in compilation error.

I reverted that commit, update the "shared" submodule and now, hopefully,
everything should return to normal.
I'm now able to compile gaggle, thanks for your good guess !

sly (sylvain letuffe)

unread,
Mar 28, 2012, 7:28:26 AM3/28/12
to gaggle...@googlegroups.com
On mercredi 28 mars 2012, sly (sylvain letuffe) wrote:
> (...)

Ooops again, I haven't noticed that you answered to the gaggle-user list so I
replied blindly, wasn't it better to keep those discussions on the gaggle-dev
list ?

To my point of view it doesn't matter much, since the email trafic is low on
gaggle-users anyway, but I'go where the devs are ;-)

Marc

unread,
Mar 28, 2012, 7:32:50 AM3/28/12
to gaggle...@googlegroups.com
sly (sylvain letuffe) wrote:
> On mercredi 28 mars 2012, sly (sylvain letuffe) wrote:
>> (...)
>
> Ooops again, I haven't noticed that you answered to the gaggle-user list so I
> replied blindly, wasn't it better to keep those discussions on the gaggle-dev
> list ?
>
> To my point of view it doesn't matter much, since the email trafic is low on
> gaggle-users anyway, but I'go where the devs are ;-)

Sorry, I replied to the original mail and forgot to change the 'To:'.
I think it would be best to use -dev for this kind of questions. I have
a small list of questions dealing with the code that may not be very
interesting for Gaggle users (I think most of the -user@ list).

Marc

Reply all
Reply to author
Forward
0 new messages