android - Exception : No resource found that matches the given name (at 'layout_behavior' with value '@string/appbar_scrolling_view_behavior') -


i developing library. developing making new library module in application project works fine(even if remove design library app gradle file.). when tried use in different application taking .aar file "library -> build -> outputs -> aar" folder , adding new java/.aar module doesn't build , shows below exception :

error:(36, 30) no resource found matches given name (at 'layout_behavior' value '@string/appbar_scrolling_view_behavior'). 

the exception in layout files of library. related stackoverflow posts tell error occurs if have not included "com.android.support:design" in gradle. library gradle file has library. below layout file library error :

<android.support.design.widget.coordinatorlayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/lib/lib-package-here" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:fitssystemwindows="true" android:animatelayoutchanges="true"> 

i changed third line "/apk/res-auto" current 1 after reading few posts. what's happening here? things should seamless integration of library in other apps?


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -