XC_Qan

之前一直有使用Leancloud,就这次不行,看log猜测是这个项目中使用了Gson,和sdk中的混淆导致的。 App进行初始化时报错: 2022-07-27 20:38:40.667 7497-7497/cn.spacexc.wearbili E/AndroidRuntime: FATAL EXCEPTION: main Process: cn.spacexc.wearbili, PID: 7497 java.lang.NoSuchMethodError: No direct method <init>(Ljava/util/Map;)V in class Lcom/google…

xiaoxu: https://leancloud.cn/docs/sdk_setup-java.html#hash-1021083530 sdk用的是8.2.5,gson用的是2.9.0 感谢,但是我比较着急,麻烦了 @xiaoxu

项目中使用的依赖: dependencies { implementation 'androidx.core:core-ktx:1.8.0' implementation 'androidx.appcompat:appcompat:1.4.2' implementation 'com.google.android.material:material:1.6.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.wear:wear:1.2.0' implement…

调用api时,使用了X-LC-Sign 来代替 X-LC-Key。但是经过抓包发现,抓包到的sign可以无限期使用(至少在一小时内是这样的)。这样就可以通过http注入来篡改数据。希望开发可以优化一下sign的算法,增加一下爆破的难度(已经是https但仍然被抓到)