This kind of error you get when you select lower SDK version and you are using library which required higher version. This is the very basic error which occurs when you start a new project.
When you select very low minimum SDK requirement on "target android device window" of Android Studio, such kind of error occurs. You may resolve this in two ways -
1. Since these problem occurs during the start a new project, so you can restart a new project with some higher minimum SDK. See the screen shot -
2. But if you don't want to restart a new project and you want to resolve it in existing project, then open the build.gradle(Module app) file of your project and find the following value-
minSdkVersion 9
then change it to -
minSdkVersion 14
And then sync the project. screen shot is below-
When you select very low minimum SDK requirement on "target android device window" of Android Studio, such kind of error occurs. You may resolve this in two ways -
1. Since these problem occurs during the start a new project, so you can restart a new project with some higher minimum SDK. See the screen shot -
2. But if you don't want to restart a new project and you want to resolve it in existing project, then open the build.gradle(Module app) file of your project and find the following value-
minSdkVersion 9
then change it to -
minSdkVersion 14
And then sync the project. screen shot is below-
No comments:
Post a Comment