1

Hi i am trying to use eclipse for android development and i am getting this error

<mypath>Android\sdk1\extras\android\support\v7\appcompat\res\values-v21\themes_base.xml:144: error: Error: No resource found that matches the given name: attr 'android:windowElevation'.

I have already installed the required thing as in the image

Image

What else i have to do in the setup to run the code .Please help me in this

Developer
  • 6,292
  • 19
  • 55
  • 115
  • Have you installed SDK platform for required API of your project ? – Jibran Khan May 27 '15 at 15:02
  • Have a look at this post; http://stackoverflow.com/questions/26431676/appcompat-v721-0-0-no-resource-found-that-matches-the-given-name-attr-andro – Mudassir May 27 '15 at 15:04

3 Answers3

1

Make sure that you have a SDK platfrom 21 and try to add appcompact using this tutorial. Hope this will work. :)

https://www.youtube.com/watch?v=CG_HxvV44zM

Yeahia2508
  • 7,526
  • 14
  • 42
  • 71
0

After installation, in order to use a Support Library, you must modify your application's project's classpath dependencies within your development environment. You must perform this procedure for each Support Library you want to use.

More details here: http://developer.android.com/tools/support-library/setup.html#add-library

Jayesh Elamgodil
  • 1,467
  • 11
  • 15
0

I see you have the extras required as Android Support Repostory, Android Support Library, Google Play Services, etc

but you have to install the SDK platform for the API 21 too!. And be sure to install the latest Android SDK Build-tools.

Jorgesys
  • 124,308
  • 23
  • 334
  • 268