Thursday, 11 January 2018

> Manifest merger failed: uses-sdkminSdkVersion 9 cannot be smaller than version 14 declared in library [com.android.support.apcompat-v7:26.0.0-alpha1] Android Studio

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-




No comments:

Post a Comment

Change image source dynamically on hyperlink

 Changing image source dynamically using JQuery. Here in this example I have created there hyperlink and stored all images in the same folde...