【问题标题】:Render Problem "Path.op() not supported" in latest material design version [duplicate]最新材料设计版本中的渲染问题“Path.op() 不支持”[重复]
【发布时间】:2021-01-11 14:11:19
【问题描述】:

我在 Android studio 3.5.3 中与 androidx 一起使用:

  1. androidx.recyclerview.widget.RecyclerView
  2. com.google.android.material.floatingactionbutton.FloatingActionButton

我的gradle如下:

implementation 'com.google.android.material:material:1.3.0-alpha02'
...
mindSdkVersion 26
compileSdkVersion 29
targetSdkVersion 29

问题

在 Android Studio 的编辑器中,我有这个:

不支持渲染问题 Path.op()

应用程序仍然可以正常运行。
但是上传到Play商店时我是否需要担心这种错误消息?

【问题讨论】:

  • 有人有这个问题还是只有我一个人有这个问题?这个问题会引起什么问题吗?
  • 编辑器右上角的红点或感叹号

标签: android android-studio androidx material-components-android


【解决方案1】:

使用新的布局渲染引擎。
为此,请转到 设置 ? 实验性 ? 检查 使用新的布局渲染引擎。

如果这不能单独工作,也可以更改:

implementation 'com.google.android.material:material:1.3.0-alpha02'

到

implementation 'com.google.android.material:material:1.3.0-beta01'

这应该可行。

【讨论】:

    猜你喜欢
    • 2020-05-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-01-27
    • 1970-01-01
    • 2019-12-08
    • 2020-12-09
    • 1970-01-01
    相关资源
    最近更新 更多