Recommended solutions based on your search
Any worker thread runs in background, since it is not intended to loop, is not connected to a Looper.for example doInBackground(). its implementation returns will be passed to onPostExecute() which runs on the UI thread.
Solutions on the web
java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()