Importing ABS in Android Studio


#1

I am currently using the latest version of Android Studio 0.4.0, and I am having trouble importing ABS onto my Criminal Intent project.

I’ve tried googling and going to StackOverflow, but apparently AS has changed recently and the past solutions aren’t working(at least for me)

Does anyone have any advice on how I could successfully integrate ABS? thanks!


#2

It’s quite simple. You do not have to download anything nor importing modules. I just followed this:

stackoverflow.com/questions/182 … oid-studio
stackoverflow.com/questions/187 … oid-studio
viewtopic.php?f=415&t=6744

To sum up all you have to do is add the ABS dependency to build.gradle file of subproject (not the top one) and remove the support library because you will get that certain attributes are already defined instead. Also change the theme to “Theme.Sherlock.Light.DarkActionBar” in AppBaseTheme in styles.xml under res/values.

Ah, also be sure to add this dependency to gradle: