我在CrashListics從操作系統的三星設備反覆得到這個Exception
5.0.1
我搜索的SO了很多,發現它是三星設備中的一個錯誤,但無法找到任何解決方案。任何人都可以建議我如何處理這個異常(任何解決方案或任何技巧)?致命異常:java.lang.IncompatibleClassChangeError:找不到com.google.aaca
Fatal Exception: java.lang.IncompatibleClassChangeError: Couldn't find com.google.a.a.c.a at libcore.reflect.AnnotationAccess.toAnnotationInstance(AnnotationAccess.java:659) at libcore.reflect.AnnotationAccess.toAnnotationInstance(AnnotationAccess.java:641) at libcore.reflect.AnnotationAccess.getDeclaredAnnotation(AnnotationAccess.java:170) at java.lang.reflect.Field.getAnnotation(Field.java:242) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.excludeField(Unknown Source) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.excludeField(Unknown Source) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.excludeField(Unknown Source) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.excludeField(Unknown Source) at com.google.gson.Gson.doubleAdapter(Unknown Source) at com.google.gson.Gson.doubleAdapter(Unknown Source) at com.google.gson.Gson.doubleAdapter(Unknown Source) at com.google.gson.Gson.doubleAdapter(Unknown Source) at com.google.gson.Gson.doubleAdapter(Unknown Source) at com.app.Data.Sessions.LoginSession.createLoginSession(Unknown Source) at com.app.Data.UserInformation.getInfo(Unknown Source) at com.app.Main.LocationUpdateService.locationUpdate(Unknown Source) at com.app.Main.LocationUpdateService.locationUpdate(Unknown Source) at com.app.Main.LocationUpdateService$1.onLocationChanged(Unknown Source) at android.location.LocationManager$ListenerTransport._handleMessage(LocationManager.java:281) at android.location.LocationManager$ListenerTransport.access$000(LocationManager.java:210) at android.location.LocationManager$ListenerTransport$1.handleMessage(LocationManager.java:226) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5942) at java.lang.reflect.Method.invoke(Method.java) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
在createLoginSession
我在做什麼是:
public void createLoginSession(UserData userData) {
Gson gson = new Gson();
String info = gson.toJson(userData);
editor.putString(INFO, info);
editor.commit();
}
你在你的gradle這個搭配使用ProGuard? –
@RoShanShan是的,我正在使用 –