Adding Umano's AndroidSlidingUpPanel as an Android Studio Library-open source projects umano/AndroidSlidingUpPanel
I’ve been at this for hours and I still can’t get Umano’s sliding up panel library to work in android studio ( https://github.com/umano/AndroidSlidingUpPanel ).
I created a “Libraries” directory at the root of my project, copied the library sources inside, and added the following:
-settings.gradle : include 'Libraries:AndroidSlidingUpPanel:library', ':MyProject'
-project build.gradle : compile project(':Libraries:AndroidSlidingUpPanel:library')
I’ve tried everything, I can get it to compile but once I use the
in a layout it fails to compile.
BTW If I don’t downgrade my build.gradle’s gradle path to .7 (was .8) , I get an error at compilation time.
I have maven setup as a dependency and the v4.13.0.0 support library listed as a dependency both in the library and my project.
I have looked everywhere, I cannot get an answer for this: can anyone provide a step by step guide to creating a project and including this as a library?
Thank
EDIT – To clarift:
If I do all of the above and downgrade my :
buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:0.8.+'
}
to:
buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
}
I get the project to compile. However if I use the layout from the library:
I get the following error: error: Error parsing XML: unbound prefix on the SlidingUpPanel layout node. This means the library did not, in fact, compile and include correctly. That is why I was asking for a step by step on addid this library to a new Android Studio project.