我的应用程序不断出现mpw错误,并在Android仿真器中停止运行,该错误与服务器连接性有关

时间:2018-09-06 17:35:23

标签: android android-studio

在这种情况下,日志非常奇怪。我无法找出导致服务器连接错误的问题。请帮助我解决此mpw 29503错误:

09-06 17:08:37.756 2285-4073/com.google.android.gms.persistent E/NetRec: [239] abno.a: Could not retrieve server token for package com.google.android.apps.gcs
java.util.concurrent.ExecutionException: mpw: 29503: 
    at alfn.b(:com.google.android.gms@12521024@12.5.21 (040700-189987672):4)
    at alfn.a(:com.google.android.gms@12521024@12.5.21 (040700-189987672):28)
    at abno.a(:com.google.android.gms@12521024@12.5.21 (040700-189987672):1)
    at abno.a(:com.google.android.gms@12521024@12.5.21 (040700-189987672):7)
    at abnl.getHeaders(:com.google.android.gms@12521024@12.5.21 (040700-189987672):2)
    at com.android.volley.toolbox.HttpClientStack.performRequest(:com.google.android.gms@12521024@12.5.21 (040700-189987672):15)
    at nmb.performRequest(:com.google.android.gms@12521024@12.5.21 (040700-189987672):1)
    at bdb.executeRequest(:com.google.android.gms@12521024@12.5.21 (040700-189987672):1)
    at com.android.volley.toolbox.BasicNetwork.performRequest(:com.google.android.gms@12521024@12.5.21 (040700-189987672):11)
    at nmc.performRequest(:com.google.android.gms@12521024@12.5.21 (040700-189987672):8)
    at com.android.volley.NetworkDispatcher.a(:com.google.android.gms@12521024@12.5.21 (040700-189987672):7)
    at com.android.volley.NetworkDispatcher.run(:com.google.android.gms@12521024@12.5.21 (040700-189987672):2)
 Caused by: mpw: 29503: 
    at mvf.a(:com.google.android.gms@12521024@12.5.21 (040700-189987672):3)
    at aejp.b(:com.google.android.gms@12521024@12.5.21 (040700-189987672):4)
    at aema.a(:com.google.android.gms@12521024@12.5.21 (040700-189987672):4)
    at nof.a(:com.google.android.gms@12521024@12.5.21 (040700-189987672):6)
    at noj.run(:com.google.android.gms@12521024@12.5.21 (040700-189987672):44)
    at axja.run(:com.google.android.gms@12521024@12.5.21 (040700-189987672):2)
    at nsg.run(:com.google.android.gms@12521024@12.5.21 (040700-189987672):27)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
    at nya.run(Unknown Source:7)
    at java.lang.Thread.run(Thread.java:764)

1 个答案:

答案 0 :(得分:0)

它是如此有线,因为在ThreadExecutor上有任务调用。为了获得正确的问题日志,您应该包装操作,并使用try-cath块在后台使用工具(执行程序服务,Rx甚至AsyncTask)提交操作。