How to change build tool version in Android Studio

I have a problem with jfeinstein10 sliding menu

I added the library to the folder of my root project. But I get this error:

Error: Build Tools SDK version (17.0.0) is too small for the ': SlidingMenu' project. The minimum value is 19.1.0

But I am already using "19.1.0", but it still says that I am using 17.0.0

Here is my build.gradle

apply plugin: 'com.android.application' android { compileSdkVersion 22 buildToolsVersion "19.1.0" defaultConfig { applicationId "com.repliklernet.replikler" minSdkVersion 14 targetSdkVersion 22 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:22.2.1' compile group:'com.squareup.picasso', name:'picasso', version:'2.5.0' compile project(':SlidingMenu') } 

What am I missing?

+5
source share
3 answers

If you look at the build.gradle file for the library, you will see that it refers to the build tools 17: https://github.com/jfeinstein10/SlidingMenu/blob/master/library/build.gradle#L17 p>

You need to update this line.

The error actually gives you a hint by specifying project ':SlidingMenu' , referring to the SlidingMenu project.

+6
source

You have to change build.gradle in your library

+1
source

Right-click the project folder and select "Open Module Setings" Select "Application" in the list of modules (left panel) Select the "Properties" tab and present to you "Compile SDK Version", "Build Tools Version".

Click OK

Link: https://www.youtube.com/watch?v=v4b7C6Q-9dI

0
source

Source: https://habr.com/ru/post/1244925/


All Articles