Build errors in Vivace

3 views
Skip to first unread message

Terry Burlison

unread,
Jan 15, 2012, 3:14:32 PM1/15/12
to Seattle Java Android Study Sessions
I'm using Eclipse Indigo on Windows 7, building to Android 2.1
platform, but I'm getting nine errors: "The method (eventOccured,
onTouch, onClick, etc.) must override a superclass method." The
quickfix suggests removing the @Override statements.

Any thoughts about what's causing this? Thx.

Viraj Turakhia

unread,
Jan 15, 2012, 3:26:48 PM1/15/12
to seattle-java-andr...@googlegroups.com

I would check if these methods in super class of the class were available in Android 2.1.

Also are you extending/implementing all classes/interfaces you are supposed to do?

Try using more advance Android version and try to build the project.

HTH.

-v

Terry Burlison

unread,
Jan 15, 2012, 6:34:02 PM1/15/12
to Seattle Java Android Study Sessions
I'm using the unmodified source code. I tried building under both 2.1
and 4.0: same errors. No one else is getting them?

Terry

On Jan 15, 12:26 pm, Viraj Turakhia <virajturak...@gmail.com> wrote:
> I would check if these methods in super class of the class were available
> in Android 2.1.
>
> Also are you extending/implementing all classes/interfaces you are supposed
> to do?
>
> Try using more advance Android version and try to build the project.
>
> HTH.
>
> -v
>  On Jan 15, 2012 12:14 PM, "Terry Burlison" <terry.burli...@gmail.com>

Jose Collas

unread,
Jan 15, 2012, 7:56:47 PM1/15/12
to Seattle Java Android Study Sessions
Terry,

Try taking the methods out then let Eclipse fix the errors.
This is a dumb Eclipse trick that sometimes works.
If Eclipse sees the new methods you can rebuild those.

- JC
Reply all
Reply to author
Forward
0 new messages