In this blog post I am going to explain the source of the problem and how to fix it.
You might receive an error like this:
The method onClick(View) of type new View.OnClickListener(){} must override a superclass method Java Problem
The Source of the Problem: The project was written with a Java JDK Compiler compliance level of 1.6 but your eclipse setting is 1.5.
How to fix the problem:
Right click on your project and select "properties"
Select "Java Compiler"
Make sure "Enable project specific settings" is checked
Change the "Compiler compliance level:" to 1.6
Save the changes.
Now select "Project" > "Clean..."
Your project should now build without any errors.
97 comments:
thanks a lot for this post, saved me some time.
Great thanks.
Thank you!
Thank you so much, you saved my life!
Hi what is the style of your eclipse and how can i get it?
I created it. I also am sharing it. Here is my blog post about my dark color theme and a link to download the import file.
http://androidcodemonkey.blogspot.com/2011/04/eclipse-dark-color-theme.html
Excellent help
I LOVE YOU
Thank you! Have been looking all over for this. Was kinda hard to find :)
Excellent
Thank you
Nice thank you....
Thank you. This helped me out tremendously.
This is very helpful! Thanks! :D
This saved my ass. Thanx a lot.
Thanks a lot. Saved a lot of time. :-)
Kicked my errors out the front door. Thanks, buddy!
Hello,
Thanks a lot, Its working for me.
Thank you!!! You have saved one more soul today...
saved me a bunch of frustration! Thanks!
Thanx!
Super.......
A lat of thanks
Great! Thanks a lot. Saved a lot of time
Thanks a lot!!!
Thanks! Helped a lot :)
thanks a lot
amazing. thanks. it works now :)
This helped me greatly!
Great Job man ...
Helped me a lot :)
thanks!-angeles jesus
If you set the Compiler to 1.6.and still you get this error. Try to check your imports. Eclipse always try to do this 'import android.content.DialogInterface.OnClickListener' instead of the doing this -> 'import android.view.View.OnClickListener'. That solves my problem.
Thanks - had this exact problem - love the quick fix
Amazingly helpful thank you
Thanks much !!!
Thanks Greg.
THAAAAANNNNKKKKSSSS!!!!!!!!!!!!!!!!
Thanks a lot! :)
Thank's mate!
That saved my laptop from a rather violent punch.
Thanks a ton! Saved me a ton of time!
thanks for the post
Thank you. Thank you very much.
Thanks a lot!
Sorry to be negative but this didn't work for me. Still getting told to remove @Override. Any other suggestions ?
Just found the solution on another site. After setting Compliance Level to 1.6 and BEFORE running Clean, it is essential to uncheck Project > Build Automatically.
Awesome Solution...
Great
Gracias!
Thanks!
Thanks for this nice post. Saved me a lot of time.
thanks for help
This is also a very good post which I really enjoyed reading. It is not everyday that I have the possibility to see something
Signature:
i like play games friv online and play games2girls Download baixar facebook
I am happy to find this post very useful for me
Signature:
Jugar juegos de frozen en línea gratis, los nuevos de princesa de Disney juegos frozen - la princesa encantadora y linda. Divertirse frozen!
Thanks for sharing the information. It is very useful for my future. keep sharing
Signature:
download descargar facebook gratis para Android celular and download free descargar facebook apk en español, descargar facebook plus , descarga facebook
Great post,Thanks for providing us this great knowledge,Keep it up.
A good blog.
Signature:
download free descargar whatsapp plus gratis and download whatsapp baixar online and descargar whatsapp , baixar whatsapp gratis
Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write
Kizi 123
Friv 234
Friv
Kizi 2
Kizi 1
Hello to every body, it's my first pay a quick visit of this weblog; this weblog carries amazing and really excellent data in favor of readers.
Friv 4
Kizi 3
You need to kill time, you need entertainment. Refer to our website. hope you get the most comfort.
Thanks you for sharing!
Yepi
Kizi
Friv
Friv Games
Salam...
Saya nak tumpang promosi website...
http://eload.ml
http://bit.ly/17lBrz5
Terima kasih...
you'd have time to look these kids active. Please visit our website and let us play the game interesting.
Thanks for sharing !
Friv 10
Kizi 10
Yepi 2
You are stressed and tired, you need entertainment. Refer to our website. hope you get the most comfortable.
Kizi 4
I would like more information about this, because it is very nice., Thanks for sharing.
happy wheels , agario , happywheels , agar ,
I would like to thank you for the efforts you have made in writing this article.I would like to thank you for the efforts you have made in writing this article.
fireboy and watergirl | super smash flash 2 , fireboy watergirl | ssf2
Thanks for the best blog.it was very useful for me.keep sharing such ideas in the future as well.this was actually what i was looking for,and i am glad to came here!
Friv 100
You need to kill time, you need entertainment. Refer to our website. hope you get the most comfort.
Thanks for sharing !
Friv 5
Kizi 1
Yepi 3
thank you for your interest in welcome visit
Friv 4
New attractive game . I will play it every day
Friv|
Friv 2
When you're tired, you want to relax after a stressful working hours, you need to have time to take care of the kids active.
Please visit our website and play exciting flash games.
Thanks you for sharing!
Friv 4
This blog explains the details of most popular technological details. This helps to learn about what are all the different method is there. And the working methods all of that are explained here. Informative blog.
Hadoop Training in Chennai
Play the Best Free Games! We've picked out the racing games, cooking games, candy crush, games shooting, fashion games, ...
Thanks for sharing !
Kizi 200
Friv 1
Y88
Y9
You want to relax after a stressful working hours. Refer to our website. hope you get the most comfort.
Thanks for sharing !
Friv 100
Friv 8
Friv 2
You want to relax after a stressful working hours. Refer to our website. Hope you get the most comfort.
Thanks for sharing !
GirlsGoGames
Kizi 100
Frvi
Play games we reward Corolla Altis car
Friv Games
Kizi 100
Games2Win
Kizi 5
This information is impressive; I am inspired with your post writing style & how continuously you describe this topic. After reading your post, thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic.
Online Reputation Management
شركة زهرة العلا للخرمات المنزلية بالسعودية واحدة من افضل الشركات التي تعمل بالمجال يرجع كل هذا الي الثقة والسرعة والدقة وجودة الخدمة التي تقدم للعميل ولافضل الاسعار الممكنة مع الحفاظ علي الجودة ونوعية المبيدات ومواد النظافة واثرها علي البيئة وصحة الاسرة كما ان الموارد البشرية الخاصة بنا علي اعلي دراية وفهم بالامور وذو خبرات طويلة في مكافحة الحشرات,النظافة العامة مثل الفلل,الشقق,الواجهات الزجاجية والحجرية,البلاط والرخام,الحدائق,المسابح وغيرها من امور النظافة كما انهم يجيدون التعامل مع كافة الاثاث الخشبي والزجاجي وغيرها والقيام باعمال النقل والفك والتركيب والتغليف بواسطة النجارين المحترفين كما يوجد لدينا افخك مستودعات تخزين الاثاث بالرياض والمتميز بالصفات القياسية للحفاظ علي العفش من الاتربة والرطوبة وغيرها من الامور التي تؤدي الي التلف فقط للحصول علي الخدمات المنفردة اتصل بنا علي الارقام الموضحة بالموقع ليصلك مندوبنا للمعاينة المجانية واعطاء النصائح والارشادات شركات النظافة بالدمام
شركات النظافة بالطائف
شركة تنظيف خزانات بابها
افضل شركة تنظيف مسابح بالدمام
افضل شركة تنظيف بالرياض
افضل شركة تنظيف فلل بالرياض
شركة رش مبيدات حشرية بالدمام
شركة مكافحة حشرات بالاحساء
شركه مكافحة حشرات بالطائف
شركة مكافحة النمل الابيض بحائل
شركة مكافحة حشرات بخميس مشيط
شركة مكافحة الارضة بالدمام
You need to have time to take care of the kids active. Please visit our website and play exciting flash games.
Thanks you for sharing!
Games2Girls
Kizi 1000
Frin
Friv 3
The blog or and best that is extremely useful to keep I can share the ideas. Age Of War 2
Big Farm | Slitherio | Tank Trouble
Of the future as this is really what I was looking for, I am very comfortable and pleased to come here. Thank you very much.
Happy Wheels | Goodgeme Empire | Slither.io
You go to our Web page you can play online games for free.
Our Web page selection is the biggest collection so you can play entirely for free
gun mayhem | age of war
learn to fly | happy wheels game
tank trouble
I cant wait to check out some of these blogs! I’ve really wanted to start learning more about cars and auto repairs lately and I think this will help a lot. I think it can save my family some money if we knew how to do some repairs at home.! Thanks again for all the options.
bike spa services in mumbai
house cleaning services in mumbai
car wash services in mumbai
I would like to thank you for the efforts you have made in writing this article.
wings.io | super mechs | wingsio | wingsio | super mechs 2 | wingsio game | supermechs
I am really empowered with your writing talent. Anyway keep up the wonderful high
quality writing, it’s rare to see a great blog
such as this these days
Many thanks for sharing the information in your blog.
Friv 100
There are things lost and I feel sorry that I did not appreciate. But there are also new things and I lost relieved realized: Yeahhhhh, and I stress, yet
Friv Games
Y2
Friv 200
I’m really impressed with your writing skills and also
with the layout on your weblog. Is thiss a paid
theme or did you modify it yourself? Anyway keep up the nice quality writing, it’s rarfe to
see a nice blog like this one nowadays.
obat penyakit kusta basah
obat herbal sinusitis dan polip
obat jamur mulut untuk anak
Expanding Menu View in Android:
This is a library to help creating expanding views with animation in Android.
http://bit.ly/expanding-menu-view-in-android
Work anybody but take some time to relax every day work efficiency will be higher than that. Invite you to visit our website
Friv 1
GirlsGoGames
Friv 4 School
This blog is having the general information. Got a creative work and this is very different one.We have to develop our creativity mind.This blog helps for this. Thank you for this blog. This is very interesting and useful. android Training in Chennai
Great post! I am actually getting ready to across this information, It's very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.
SEO Training in Chennai
Thanks for sharing this information and keep updating us. This content is quite informatics to me.
Hadoop Training in Chennai | Hadoop Training Chennai | Big Data Training in Chennai
Usually I do not read post on blogs, but I would like to say that this write-up very forced me to try and do it! Your writing style has been surprised me. Great work admin.Keep update more blog.
Web Development Company in India
Wonderful blog.. Thanks for sharing informative Post. Its very useful to me.
Installment loans
Payday loans
Title loans
Thanks to information shared by the author. hope the author has many more interesting articles
Y8 Games
Friv 1000
Friv 4
Many thanks scorehero.net
Its a wonderful post and very helpful, thanks for all this information. You are including better information regarding this topic in an effective way.Thank you so much
Personal Installment Loans
Payday Cash Advance loan
Title Car loan
Cash Advance Loan
Its very useful to me. pianotiles2.com
I am very happy to read this. Appreciate your sharing
god is greater than the highs and lows
I like your post so much www.whatsappbaixargratis.com.br
I like your post. It really useful with me. Thanks for sharing these useful information!
happywheels3game.com
Thank you for this great article which conveyed a good information.keep more updates.
SEO Company in India
SEO Services in India
SEO Companies in India
SEO Company India
SEO Services India
Post a Comment
Note: Only a member of this blog may post a comment.