Attempt to invoke interface method 'void android.support.v7.widget.DecorContentParent.setWindowCallback(android.view.Window$Callback)'

☆樱花仙子☆ 提交于 2019-12-01 16:57:11

Had a similar issue this morning. How I fix it:

  1. Remove application level attribute from your android manifest file android:theme="@style/AppTheme".
  2. Add activity level attribute instead like so:

    [Activity(MainLauncher = true, Theme = "@style/AppTheme")]
    

This issue occurs when your buildToolsVersion is not updated to match the version of playservices and other dependencies

Check here for the latest version:

https://developer.android.com/studio/releases/build-tools.html.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!