android的报错提示:
E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #2
Process: com.xiangsheng.xsface, PID: 23080
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$4.done(AsyncTask.java:415)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
at java.util.concurrent.FutureTask.run(FutureTask.java:271)
错误在哪,看来找不到,直接说吧 最好就是需要调试,调试时可以发现有没有提示报错,是因为调试能对你很有帮助
解决,如下图: