Android - Can't create handler inside thread that has not called Looper.prepare()

后端 未结 3 942
有刺的猬
有刺的猬 2020-12-29 06:04

I am developing a simple application using Google Maps V2 API just to get basics and I am facing this error:

09-09 21:21:41.154: E/AndroidRuntime(3796): FAT         


        
3条回答
  •  情歌与酒
    2020-12-29 06:55

    You cannot execute an AsyncTask from a background thread. See the "Threading Rules" section of the AsyncTask documentation.

提交回复
热议问题