7
如何解决不支持的渲染问题Path.op()?
如何解决此错误:渲染问题不支持Path.op() 我试图强制刷新布局,重新启动,更新Android Studio,暂时停止防病毒,但是问题仍然存在。 出乎意料的是,我能够编译并运行该应用程序,但是如何摆脱此错误? 我在用: Android Studio 3.5.3 Android SDK工具29.0.2 Android SDK平台Android 10.0(Q)Android SDK平台29 默认的OpenJDK平台二进制文件 重现错误: 创建空活动的新Android项目 用以下布局替换布局: <?xml version="1.0" encoding="utf-8"?> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/parent_view" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity" android:background="@android:color/white"> <com.google.android.material.appbar.AppBarLayout android:id="@+id/appbar" android:layout_width="match_parent" android:layout_height="wrap_content"> <include layout="@layout/toolbar" /> </com.google.android.material.appbar.AppBarLayout> <androidx.core.widget.NestedScrollView android:id="@+id/nested_scroll_view" android:layout_width="match_parent" android:layout_height="match_parent" android:clipToPadding="false" android:scrollbars="none" android:scrollingCache="true" app:layout_behavior="@string/appbar_scrolling_view_behavior"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> …