Activity has leaked window at alertDialog show() method

前端 未结 6 964
旧时难觅i
旧时难觅i 2020-12-14 16:23

I am getting window leak error at runtime because of using an AlertDialog.

I have pointed out the error line in the code below:

Stacktrace:<

6条回答
  •  春和景丽
    2020-12-14 16:26

    I don't know does this help but at me problem's were causing multidex. At build.gradle

    multiDexEnabled false
    

提交回复
热议问题