1
I recommend you download the most current version of Android SDK which at this time is 6.0.
On Androidmanifest.xml put the following:
android:minSdkVersion="7"
targetSdkVersion="23"
If you don’t want to drop to 6.0, put targetSdkVersion="17"
for version 4.2.2 or targetSdkVersion="19"
for version 4.4.2 but you need to delete the folder \res\values-21
to get rid of mistakes.
If you are starting to program for Android use Android Studio, Eclipse ADT is no longer supported by Google.
It would be interesting to switch to android studio since google is no longer supporting Eclipse adt
– Jorge Campos
I thought about it too but Android Studio is very slow and hangs a lot... but I’ve solved the problem. My error was that I was not importing the appcompat_v7 library. Then I went into properties and set my project with target as Android 6.0 which is the same as Appcompat_v7.
– Williams