5.1 Crash - A TaskDescription's primary color should be opaque

后端 未结 4 2079
礼貌的吻别
礼貌的吻别 2020-11-29 05:26

I have implemented material design into my app and it runs perfectly fine on < Android 5 but when I try to run on Android 5.0 and above I get the following in my logcat.<

4条回答
  •  情书的邮戳
    2020-11-29 05:44

    Simple solution to the issue is to remove the opaque applied to the primary color in colors.xml

    When opaque is applied to primary color the color code look like this "#aca688ff", where it has to be ex: "#F50057" (6 letters alphanumeric code without opaque).

    Hope the above solution helps you to fix the issue.

提交回复
热议问题