Java 按钮可拖动会在某些设备上导致资源$NotFoundException

Java 按钮可拖动会在某些设备上导致资源$NotFoundException,java,android,android-drawable,Java,Android,Android Drawable,我在我的一项活动中使用了一个按钮。该按钮在左侧有一个可拖动按钮,但它似乎在某些设备上导致错误(CrashLytics检测到) 这是我按钮的代码 <Button android:id="@+id/deleteCat" android:onClick="deleteCategory" android:layout_width="wrap_content" android:layout_height="wrap_content" android:draw

我在我的一项活动中使用了一个按钮。该按钮在左侧有一个可拖动按钮,但它似乎在某些设备上导致错误(CrashLytics检测到)

这是我按钮的代码

 <Button
    android:id="@+id/deleteCat"
    android:onClick="deleteCategory"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:drawableLeft="@drawable/baseline_delete_forever_black_24"
    android:text="Delete Category"
    android:drawablePadding="10dp"
    android:layout_marginTop="30dp"
    android:drawableTint="@color/colorPrimary"
    style="@style/Widget.AppCompat.Button.Borderless"
    />
具体的错误在这里

Caused by android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f08006c
       at android.content.res.ResourcesImpl.getResourceName(ResourcesImpl.java:267)
       ...
我查找了资源ID,发现它是按钮drawable,它不在drawable-24文件夹或任何类似的文件夹中

出现此错误的设备正在运行android 8.0、8.1、9.0

这里有什么问题

Caused by android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f08006c
       at android.content.res.ResourcesImpl.getResourceName(ResourcesImpl.java:267)
       ...