How to Solve Render Problem Path.Op() Not Supported

how to solve render problem Path.op() not supported?

I was facing the same problem. The reason is, that the new versions of Material Components are bundled with this bug. So, I tried replacing the version in the Gradle build script with the version that supports Path.op().

So, the only thing you have to do is replace the dependency in your Gradle build script with this one:

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

Material edit text not rendering in android studio editor

You have to change in build.gradle

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

It seems newer versions are not rendered correctly.

See:how to solve render problem Path.op() not supported?

ConstraintLayout 2.0 rendering problems

Ok, in my case this definitely looks like an issue with a project cache. Once I've cleaned it up (Build -> Clean Project), the layout preview started working just fine.

Android Studio layout editor theme doesn't match device

You have to replace your material implementation to

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

Path.op() do not work on version newer than alpa02 - it might be a bug or they just deprecated it.



Related Topics



Leave a reply



Submit