Android Error: This Template Requires A Build Target Api Version Of At Least 14, And The Current Version Is 7
Solution 1:
I recently faced the same problem when creating the activity or while setting the new android application project and able to solve this problem in this manner. I checked the system image folder which is in sdk/system-images,build tools folder-sdk/build-tools and found that these folder does not have the API's that i am using at Minimum required sdk,target sdk,compile with. In each of these you need to provide the API no. or Android version. So check that the API's that you are using for(Minimum required sdk,target sdk,compile with) are installed and also check the system-images and build-tools folder should have these API's
if you have done this your problem must be solved.
Solution 2:
You probably set Build SDK to API 7. Normally, you should set Build SDK to the highest possible API level and set the other SDK, it's called Run SDK or don't rememeber how to the minimum API version you want your application to run on.
Solution 3:
It's an Android Lint warning that tells that you should consider updating targetSdkVersion to the latest API level (19 as of now). It's because your target SDK level is lower than your build SDK (defined in project.properties on Eclipse/ADT-based tooling).
Solution 4:
I ran into this same issue even though I had set in my AndroidManifest.xml minSdkVerion to 13 and targetSdkVersion to 19. What fixed it for me was in Eclipse going to Project > Properties > Android
then checking the highest API level in Project Build Target box (API 19 for me).
Post a Comment for "Android Error: This Template Requires A Build Target Api Version Of At Least 14, And The Current Version Is 7"