我把我的安卓工作室升级为海豚。我有一些ui问题:1。无限循环试图解决‘?文本外观’:渲染可能是不准确的。2.未能在当前主题中找到“@android:attr/textAppearance”。

发布于 2022-11-11 15:50:14
发生这种情况是有原因的:可能确实缺少样式。
Theme.MaterialComponents.Bridge & Widget.MaterialComponents
例如,在XML中应用android:theme时:
android:theme="@style/AppTheme.FloatingActionButton"但是引用的材料样式没有定义任何@android:attr/textAppearance。
<style name="AppTheme.FloatingActionButton" parent="Widget.MaterialComponents.FloatingActionButton">
<item name="android:textAppearance">@style/TextAppearance.AppCompat</item>
</style>样式属性可能在其他地方丢失,而不是出现呈现错误的地方。
当FragmentContainerView不呈现时,请参阅app:startDestination及其tools:layout。
在目录android:theme中搜索字符串res/layout应该会显示所有的引用。
发布于 2022-10-07 11:42:38
我将它从32修改为compileSdkVersion 33,但现在缺少了新的属性。
https://stackoverflow.com/questions/73970483
复制相似问题