0

Error:Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : uses-sdk:minSdkVersion 10 cannot be smaller than version 17 declared in library [com.android.support:leanback-v17:23.2.1] C:\SampleforliveTVInputFrameworkTIFonTV\app\build\intermediates\exploded-aar\com.android.support\leanback-v17\23.2.1\AndroidManifest.xml Suggestion: use tools:overrideLibrary="android.support.v17.leanback" to force usage

What should I do for this error

Sufian
  • 6,405
  • 16
  • 66
  • 120
özkan
  • 13
  • 4
  • 3
    Welcome to StackOverflow. We need an [MCVE](http://stackoverflow.com/help/mcve) alongside your error in order to be able to really help. – CodeMouse92 Apr 09 '16 at 20:56
  • Possible duplicate of [How do I use tools:overrideLibrary in a build.gradle file?](http://stackoverflow.com/questions/27095077/how-do-i-use-toolsoverridelibrary-in-a-build-gradle-file) – Sufian Aug 04 '16 at 13:10

1 Answers1

0

You are using a library ("com.android.support:leanback-v17:23.2.1") which has a minimum sdk version of 17 so you can not build your app for sdk version 17. If you don't need the library you should delete the line: compile 'com.android.support:leanback-v7:23.2.1' from your Module gradle file. If you need it you will nedd to change the minimum sdk version of your app to version 17. More information on this topic on: http://developer.android.com/reference/android/support/v17/leanback/package-summary.html

Someone
  • 560
  • 9
  • 21