(Androidx)error: expected reference but got (raw string) @+android:style/Anima
error:expectedreferencebutgot(rawstring)@+android:style/Animation.Translucent.解决方法:网上提供的解决方法:修改gradle.properties文件,增加以下参数配置:android.enableAapt2=false本文用到的解决方法:原因是代码中的+的锅,有可能出现的问题是,无法定位到出现问题的代码所在位置,我们可