Android Failed looking up window with support version 27.0.0

后端 未结 2 1764
野性不改
野性不改 2021-02-19 15:57

After the update of supportVersion to 27.0.0 ONLY on Android 5.0.2 the app crash with this stacktrace:

W/WindowManager: Failed looking          


        
相关标签:
2条回答
  • 2021-02-19 16:24

    You can try adding: maven { url "https://maven.google.com" }

    Also set your support version to 27+

    This has helped me in previous instance. Not tried it with 27.0.0 or 27.0.1

    I know this is not the preferred approach but it can be used as a temporary fix. Wether you want to use it or ignore it, I leave it to you. But let me know if it works.

    0 讨论(0)
  • 2021-02-19 16:39

    In my case it was due to the AppCompatActivity extend for the start activity, When it changed to Activity it is working fine!

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