Kerry
Kerry

Reputation: 35

Android min SDK versions in eclipse

I am pretty new to Android development. I just installed eclipse IDE on my mac system to get started with Android development. When I open eclipse right click on package explorer > NEW project > Android > Android Application Project > Assign the application & project name > Changed the Minimum Required SDK to 11 But still when I click next and choose activity with navigation type: Tab + Swipe I am getting the following error.

This feature requires a minimum SDK version of at least 11, and the current min version is 8

Though I changed the minimum required SDK to 11 while creating the project but still this issue persists.

I tried changing <uses-sdk android:minSdkVersion="11" /> in all AndroidManifest.XML files but still I am unable to use many features due to this issue.

Can anyone help me out in fixing this issue?

Upvotes: 2

Views: 4818

Answers (4)

Ben
Ben

Reputation: 69

I had the same problem, could not create a new activity through the wizard. Closing the app-project and re-open helped.

Upvotes: 1

Hasan Jamshaid
Hasan Jamshaid

Reputation: 1759

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.

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

Upvotes: 1

Chetan Gowda
Chetan Gowda

Reputation: 410

Right click on the project, from Android Tools, select clear LINT Markers.

Worked for Me.

Upvotes: 1

Ahmad
Ahmad

Reputation: 72533

Save your project and then clean it: project > clean.

Upvotes: 0

Related Questions