0

i want to build an android project for API 19 so i choose this API to compile with, but when eclipse create the projects its tells me that some ressources are not found and the R class is not generated. the only way to avoid this errors is to compile with API21

So why i can not use my API 19 in compilation ??

THNKS for all

Soufiane
  • 368
  • 1
  • 3
  • 14

2 Answers2

1

Compile SDK Version can and should always be set to the latest SDK released. It is target SDK version that you should set to the latest version you've tested your app on.

Eclipse by default includes AppCompat - the part of the Support Library which ensures a consistent look and feel across all API versions v7+ and the newest version, revision 21, compiles against API 21.

ianhanniballake
  • 191,609
  • 30
  • 470
  • 443
0
So why i can not use my API 19 in compilation ?

be sure to have the api installed:

Window -> Android SDK Manager

enter image description here

Jorgesys
  • 124,308
  • 23
  • 334
  • 268
  • HI, i did but always the same problem. Meybe i must use the leatest APi – Soufiane Nov 26 '14 at 14:40
  • I had that same problem but now with the last sdk, try my answer of this question: http://stackoverflow.com/questions/24998368/the-import-android-support-v7-cannot-be-resolved/26936141#26936141 – Jorgesys Nov 26 '14 at 15:38