【发布时间】:2015-02-22 15:20:27
【问题描述】:
有时我可以在下面的崩溃报告服务日志中找到
Caused by: java.lang.VerifyError: com/google/android/gms/auth/GoogleAuthUtil
at com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential.getToken(ProGuard:255)
at com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential$RequestHandler.intercept(ProGuard:279)
at com.google.api.client.http.HttpRequest.execute(ProGuard:859)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(ProGuard:410)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(ProGuard:343)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(ProGuard:460)
来自文档
当 VM 注意到尝试加载类时抛出 没有通过类验证阶段。
这种情况很少发生,主要发生在有根设备上。这个类被打包在应用程序中,所以奇怪的是它不仅仅在某些设备上工作。
我认为这是因为有人试图修改应用程序(例如通过 odex 或 dalvik-cache 补丁)。目前我让应用程序崩溃,因为它是LinkageError,在我看来不应该处理。我是对的,还是可能有其他原因导致此问题?
【问题讨论】:
标签: java android google-authentication verifyerror