V4 패키지 업그레이드 일부 drawable 자원 이름이 변경되어 찾을 수 없는 경우
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:appcompat-v7:24.2.1'
일부 drawable에서 이름을 변경한 후 찾을 수 없음:I added a Fragment to my Android Studio project using
New > Fragment > Fragment (Blank)
. As a result when I try to run, the project won't compile because it cannot resolveR.drawable.abc_ic_ab_back_mtrl_am_alpha
intoolbar.setNavigationIcon(R.drawable.abc_ic_ab_back_mtrl_am_alpha);
Any ideas how to solve this?
It looks like I also lost access toandroid:buttonTint
개명
The name of the resource was changed in the 23.2.0 support library.
Modifyabc_ic_ab_back_mtrl_am_alpha
toabc_ic_ab_back_material
Edit: In 23.2.1 the name of the component was changed back to abc_ic_ab_back_mtrl_am_alpha
Edit: In 24.0.0 the name of the component was changed to: abc_ic_ab_back_material