Reputation: 7520
I am studying Android now and I am really a newbie in this. I am using Eclipse with Android. I already installed all the files under Android 5.0.1 (API 21) and also all the Tools. Then I try to create my simple "hello world example" but I got a lot of errors.
Here are my errors:
Can you help me with this?
Upvotes: 0
Views: 24
Reputation: 16976
Make sure you've added AppCompat
on below picture:
That problem comes from AppCompat as you can see, seems like that library has a problem and you should follow this tutorial:
Following are the steps:
Paste the
android-support-v7-appcompat.jar
that you have downloaded in libs folder of your project.Right click on your project, select
Build Path -> Configure build path.
SelectLibrary
Tab then Add Jar option and browse your recently added v7 jar and clickOK
.
That should fix the problem.
Android actionbar how to add supporting library v7 appcompat for Eclipse
And i suggest you to use AndroidStudio.
Upvotes: 1
Reputation: 2654
It seems you have some problems with styles, anyway i suggest to use Android Studio if you start from the beginning.
Upvotes: 2