Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"This template requires a minimum SDK version" -Android Eclipse ADT plugin reports wrong min SDK.

I just imported my old Android Project that I just checkout from my git repo.

When I try to create a new Master/Detail Flow Activity using Eclipse :

New > Android > Android Activity > Login Activity > Next 

The Eclipse reports me error saying :

This template requires a minimum SDK version of at least 3, 
and the current min version is 1

Where as my actual entries in my AndroidManifest.xml is :

<uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="19" />

Can someone tell me what am I missing here?

I am using Android SDK Tools of version 23.2 and Android SDK Platform-Tools version 19.0.1.

like image 874
Hari Krishna Ganji Avatar asked Feb 03 '14 16:02

Hari Krishna Ganji


1 Answers

Looks like Eclipse does this when you refactor your code that affects entries in your AndroidManifest.xml.

So, before doing anything else Close your eclipse project from workspace and open the project again by double clicking it. This will force Eclipse to reinitialize your project and will also run Lint & Other checks.

If this doesn't work, try any of the above things suggested by other users.

like image 82
Hari Krishna Ganji Avatar answered Nov 15 '22 06:11

Hari Krishna Ganji