线上的项目报错,我搜了下。说是混淆错误,但是我线上的项目并没有混淆呀。现在是别的手机都没问题。唯独Android7.0和7.1的系统报错。这些手机大部分都是华为的。有大佬能帮帮忙看看嘛?谢谢了。
java.lang.AssertionError: illegal type variable reference
at libcore.reflect.TypeVariableImpl.resolve(TypeVariableImpl.java:111)
at libcore.reflect.TypeVariableImpl.getGenericDeclaration(TypeVariableImpl.java:125)
at libcore.reflect.TypeVariableImpl.hashCode(TypeVariableImpl.java:47)
at java.util.Arrays.hashCode(Arrays.java:4153)
at com.google.gson.internal.$Gson$Types$ParameterizedTypeImpl.hashCode($Gson$Types.java:479)
at com.google.gson.reflect.TypeToken.< init >(TypeToken.java:64)
at com.orhanobut.hawk.HawkEncoder$1.< init >(HawkEncoder.java:113)
at com.orhanobut.hawk.HawkEncoder.toList(HawkEncoder.java:113)
at com.orhanobut.hawk.HawkEncoder.decodeNew(HawkEncoder.java:95)
at com.orhanobut.hawk.HawkEncoder.decode(HawkEncoder.java:58)
at com.orhanobut.hawk.Hawk.get(Hawk.java:136)
at co....................................erTags(Acc...............fo.java:159)
at com.r................................DataActivity.onCreate(Ed.............taActivity.java:139)
at android.app.Activity.performCreate(Activity.java:6679)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6126)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
具体如图:
回复讨论(解决方案)
有大佬知道这个bug吗?Android7.0权限奔溃啦。麻烦各位大佬啦。。。
打错字。是Android7.0全线奔溃了。麻烦各位大佬啦