{"id":7880,"date":"2015-11-04T21:29:41","date_gmt":"2015-11-04T21:29:41","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/11\/04\/adding-umanos-androidslidinguppanel-as-an-android-studio-library-open-source-projects-umano-androidslidinguppanel\/"},"modified":"2015-11-04T21:29:41","modified_gmt":"2015-11-04T21:29:41","slug":"adding-umanos-androidslidinguppanel-as-an-android-studio-library-open-source-projects-umano-androidslidinguppanel","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/11\/04\/adding-umanos-androidslidinguppanel-as-an-android-studio-library-open-source-projects-umano-androidslidinguppanel\/","title":{"rendered":"Adding Umano&#39;s AndroidSlidingUpPanel as an Android Studio Library-open source projects umano\/AndroidSlidingUpPanel"},"content":{"rendered":"<p>I&#8217;ve been at this for hours and I still can&#8217;t get Umano&#8217;s sliding up panel library to work in android studio ( https:\/\/github.com\/umano\/AndroidSlidingUpPanel ).<\/p>\n<p>I created a &#8220;Libraries&#8221; directory at the root of my project, copied the library sources inside, and added the following:<\/p>\n<p>-settings.gradle : <code>include 'Libraries:AndroidSlidingUpPanel:library', ':MyProject'<\/code><\/p>\n<p>-project build.gradle : <code>compile project(':Libraries:AndroidSlidingUpPanel:library')<\/code><\/p>\n<p>I&#8217;ve tried everything, I can get it to compile but once I use the<\/p>\n<pre><code>\n<\/code><\/pre>\n<p>in a layout it fails to compile.<\/p>\n<p>BTW If I don&#8217;t downgrade my build.gradle&#8217;s gradle path to .7 (was .8) , I get an error at compilation time.<\/p>\n<p>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.<\/p>\n<p>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?<\/p>\n<p>Thank<\/p>\n<p>EDIT &#8211; To clarift:<\/p>\n<p>If I do all of the above and downgrade my :<\/p>\n<pre><code>buildscript {\n  dependencies {\n    classpath 'com.android.tools.build:gradle:0.8.+'\n  }\n<\/code><\/pre>\n<p>to:<\/p>\n<pre><code>buildscript {\n  dependencies {\n    classpath 'com.android.tools.build:gradle:0.7.+'\n  }\n<\/code><\/pre>\n<p>I get the project to compile. However if I use the layout from the library:<\/p>\n<pre><code>\n<\/code><\/pre>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been at this for hours and I still can&#8217;t get Umano&#8217;s sliding up panel library to work in android studio ( https:\/\/github.com\/umano\/AndroidSlidingUpPanel ). I created a &#8220;Libraries&#8221; directory at the root of my project, copied the library sources inside, and added the following: -settings.gradle : include &#8216;Libraries:AndroidSlidingUpPanel:library&#8217;, &#8216;:MyProject&#8217; -project build.gradle : compile project(&#8216;:Libraries:AndroidSlidingUpPanel:library&#8217;) I&#8217;ve [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7880","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7880"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7880\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}