i trying import libraries, in android studio. had following error message: error:the sdk build tools revision (17.0.0) low project ':actionbarsherlock'. minimum required 19.1.0
so installed android sdk build tools rev 19.1.0. modified build.gradle file (app) looking this:
apply plugin: 'com.android.application' android { compilesdkversion 19 buildtoolsversion '19.1.0' defaultconfig { applicationid "com.example.xx.xx" minsdkversion 16 targetsdkversion 19 versioncode 1 versionname "1.2" } 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:19.1.0' compile 'com.android.support:support-v4:19.1.0' compile project(':actionbarsherlock') compile project(':actionbarsherlock-fest') compile project(':actionbarsherlock-i18n') }
also in run/debug configurations, under app engine devappserver, set in app engine sdk field path new sdk, looks that: c:\users\cami\appdata\local\android\sdk\build-tools\19.1.0
so when trying rebuild, same error message before. additionally, had installed android sdk build tools rev 22.0.1, , warning saying update targetsdkversion 22.
could please me this?
ps: sorry long post, , maybe many unnecessary details, new in android dev.
thank you
i had similar problem. please try code gradle:
android { compilesdkversion 21 buildtoolsversion "21.1.2" defaultconfig { applicationid "esub.android.app" minsdkversion 17 targetsdkversion 19 versioncode 5 versionname "1.0" } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } } }
hope help.