No resource identifier found for attribute 'layout_behavior' in package

后端 未结 11 1001
不知归路
不知归路 2020-11-30 05:43

My application worked fine until I tried to add a library to it. After I added the library, Android Studio gives me the following error:

Error:(26) No

11条回答
  •  心在旅途
    2020-11-30 05:58

    I have this problem. and i resolved my problem with tow steps. 1- Download last version of AndroidSupportLibrary package and AndroidSupportRepository package(or upgarad them to the newest version) in SDKTools of android sdk manager . 2- Change support depenedencies ind build.gradle fiel to

    compile 'com.android.support:appcompat-v7:25.+'
    compile 'com.android.support:support-v4:25.+'
    compile 'com.android.support:recyclerview-v7:25.+'
    compile 'com.android.support:design:25.+'
    

提交回复
热议问题