I need help installing/implementing ActionBarSherlock 4.4.0 into Android Studio 0.2.3. I have tried multiple tutorials and looked through answers on here. But none have worked for this beginner.
Has anyone tried to install ABS 4.4.0 into Android Studio yet? Can anyone give me detailed step by step instructions on how to do this? Or point me to an answer or tutorial that will help?
I successfully added it as aar dependency, no need to download and compile any sources.
Open Tools -> Android -> SDK Manager and install latest platform and build tools 18.0.1.
Create new project with Android Studio for Android 2.1 (API level 7) and replace build.gradle of subproject (not the top one) with the one below.
Complete minimal build.gradle, it needs Android Build Tools version 18:
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
}
}
apply plugin: 'android'
repositories {
mavenCentral()
}
android {
compileSdkVersion 18
buildToolsVersion "18.0.1"
defaultConfig {
minSdkVersion 7
targetSdkVersion 18
}
}
dependencies {
compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With