Android Studio 出现 error: cannot find symbol variable abc_ic_ab_back_mtrl_am_alpha

向Android Studio 中导入工程时有时会出现 error: cannot find symbol variable abc_ic_ab_back_mtrl_am_alpha,这是由于从 23.0.0 support library 开始,该资源文件名就被修改,从 abc_ic_ab_back_mtrl_am_alpha 改变成 abc_ic_ab_back_material 因此可以这样解决:
在 colors.xml 中添加
 < drawable name= "abc_ic_ab_back_mtrl_am_alpha">@drawable/abc_ic_ab_back_material</ drawable>


你可能感兴趣的:(android,Studio)