Even when using Java SDK 1.6, your compiler setting may be for targeting
1.5.
To check:
- right click on your project in Eclipse
- bring up Properties
- select Java Compiler
Command line builds with ant (just in case that's what you're using)
default to 1.5 Java compliance level, unless overriden in a properties file.
-- Kostya
On 02/14/2012 07:47 PM, Brad Gogats wrote:
No I am using Java 1.6 but the overrides are still giving me
issues.....i will double check when I get home.
Brad Gogats
(571) 482-8761
GMAIL <mailto:[email protected]>
G+ <http://gplus.to/handysmurf>
On Tue, Feb 14, 2012 at 10:26 AM, Mark Murphy <[email protected]
<mailto:[email protected]>> wrote:
That indicates you are building using Java 1.5. Java 1.6 supported
@Override for implementations of interface-defined methods.
On Tue, Feb 14, 2012 at 10:24 AM, schnie <[email protected]
<mailto:[email protected]>> wrote:
> i experienced this as well, all i did was remove the @override's for
> methods that were just implemented from interfaces.
>
> On Feb 6, 10:40 am, bradgog <[email protected]
<mailto:[email protected]>> wrote:
>> I have been trying to compile the WI-FI Direct Sample code in
the new SDK
>> and am getting a ton of superclass overide errors, has anyone
been able to
>> properly compile the sample code and generate an APK from the
SDK? If so I
>> would greatly appreciate it if you could post the apl or contact me
>> directly, thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to
[email protected]
<mailto:[email protected]>
> To unsubscribe from this group, send email to
> [email protected]
<mailto:android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to *Advanced* Android Development_ Version 2.4
Available!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
[email protected]
<mailto:[email protected]>
To unsubscribe from this group, send email to
[email protected]
<mailto:android-developers%[email protected]>
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en