Search code examples
androidshared-librariesclassnotfoundsuperslim

classes from library are missing


I am still new in Android development. I want to add a library (which is superslim lib) to my project. just like what the web said, I added following code to dependencies

compile 'com.tonicartos:superslim:0.4.13'

somehow, some classes are missing and I am not able to use it. for example, I want to use SectionAdapter but it's not available. screenshot here

I also try to add .aar file by put the file in libs folder and changed my code in dependencies:

compile 'com.tonicartos:superslim:0.4.13@aar'

but it's still not working. did I miss something?


Solution

  • There is no class called SectionAdapter in the early_release_4 branch. You can find it in master branch.

    Since its current release branch is early_release_4, in other words, v0.4.13, you'd better learn to use the newest version.