You cannot show a Toast
from a background thread. Please remove the Toast
from your print()
method. If you are using this Toast
for debugging purposes, consider switching to the Log
class to log things to LogCat, or using breakpoints in your IDE.
1
solved Android – Fatal Exception AsynckTask #1