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:<
Check in your manifest if you have setted internet permissions: