android.view.InflateException: Binary XML file line #0: Error inflating class Button

后端 未结 6 1013
陌清茗
陌清茗 2021-02-12 14:49

I am following a course on Audacity, and decided to type out all the code, but then I run into an error when I try run the app.

I get the following error:



        
6条回答
  •  春和景丽
    2021-02-12 15:36

    In my case the background xmls where not inside one drawable directory. I added all of them in drawable hdpi folder and then rebuild the project. That resolved this issue.

    This worked for me!

提交回复
热议问题