1

I am trying to update my Eclipse to Android Lollipop. I am done with downloading the required SDK and installing the same. My problem is that after doing this when I try to create a new project for Android 5.0 it does not list it in the Target SDk drop down. However, When I go to the android folder where I have downloaded the latest SDK and run it it does enlist Android 5.0 there but does not show it when I run SDK Manager from eclipse. I have done lot of troubleshooting like re-installing the whole eclipse again and followed steps given in various same kind of questions but nothing seems working for me.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Sourav Sharma
  • 277
  • 3
  • 13

1 Answers1

0

You have to right click on your project in Eclipse --> Properties --> Android --> Project Build Target and then select Android 5.0.1.

Also you may need to check AndroidManifest.xml for the targetSdkVersion value and target attribute in your project.properties file.

Clean and build your project and you will be fine.

Lucky Luke
  • 147
  • 2
  • 2
  • 9
  • Thanks a ton for answering...however this is the issue it does not list Android 5.0.1 under Project Build Target..After re-installing every thing and re-downloading ADT 23.0.4 when i set the SDK path it gives an error "This Android SDK requires Android Developer Toolkit version 23.0.0 or above. Current version is 22.3.0.v201310242005-887826" – Sourav Sharma Dec 29 '14 at 05:56
  • It seems that there is a problem with proguard missing file. Please check [this](https://code.google.com/p/android/issues/detail?id=72419) out. Also have a look a [this](http://stackoverflow.com/questions/24437564/update-eclipse-with-android-development-tools-v-23?rq=1) thread from SO. – Lucky Luke Dec 30 '14 at 20:10
  • See this http://stackoverflow.com/questions/24445151/how-to-install-android-lolipop-in-eclipse – Shabbir Dhangot Jan 12 '15 at 11:31