InflateException: Couldn't resolve menu item onClick handler

后端 未结 7 765
情书的邮戳
情书的邮戳 2020-12-08 19:12

I asked this question 6 years ago. In the meantime Android development best practices have changed, and I have become a better developer.

Since then, I have realized

相关标签:
7条回答
  • 2020-12-08 20:06

    I found that I had the same problem with the ActionBar menu items, and their onClick events. What i discovered is that the workstation I'm developing in had run out of memory and needed to be rebooted. The Android VM is now able to resolve the method name referenced.

    0 讨论(0)
提交回复
热议问题