Android Failed to instantiate one or more classes

前端 未结 3 1453
太阳男子
太阳男子 2020-12-01 08:10

I have a running project and all the xml files are showing me the error message Android Failed to instantiate one or more classes. The program still works.

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-01 08:57

    In styles.xml,

    Changing the theme from Theme.AppCompat.Light.DarkActionBar to Base.Theme.AppCompat.Light.DarkActionBar has worked for me.

提交回复
热议问题