如果这是一个错误的地方提出这个问题,请指导我到一个更合适的位置.

我正在Eclipse中开发一个Android项目.当我尝试在图形视图中查看首选项布局时,我不断收到此错误:

ClassCastException: com.android.layoutlib.bridge.MockView cannot be cast to android.view.ViewGroup

这是我的preferences.xml:

android:defaultValue="true" android:key="default_categories" />

android:defaultValue="@string/pref_export_defaultemail"

android:title="Email Address" android:summary="@string/pref_export_emailsummary" />

android:defaultValue="@string/pref_export_defaultfilename"

android:title="Filename Prefix" android:summary="@string/pref_export_filenamesummary" />

我不能为我的生活弄清楚它在谈论什么,我与谷歌的搜索没有拿出任何实质性的东西.

Logo

昇腾计算产业是基于昇腾系列(HUAWEI Ascend)处理器和基础软件构建的全栈 AI计算基础设施、行业应用及服务,https://devpress.csdn.net/organization/setting/general/146749包括昇腾系列处理器、系列硬件、CANN、AI计算框架、应用使能、开发工具链、管理运维工具、行业应用及服务等全产业链

更多推荐