matrix icon indicating copy to clipboard operation
matrix copied to clipboard

Android matrix导入导致高德定位崩溃

Open ZhangYe135 opened this issue 4 years ago • 2 comments

异常类型:app 运行时异常

手机型号:所有

手机系统版本:Android 8.1

matrix版本:2.0.0

gradle版本:4.1.3

Android studio版本:Arctic Fox 2020.3.1

问题描述:
项目里面导入了高德定位SDK,AMapLocationClient创建的时候就崩溃
报错信息:java.lang.ClassNotFoundException: Didn't find class "com.loc.ek" on path: DexPathList[[zip file "/data/app/sample.tencent.matrix-kOfyiXTJBuBkdE3m-nrM9g==/base.apk"],nativeLibraryDirectories=[/data/app/sample.tencent.matrix-kOfyiXTJBuBkdE3m-nrM9g==/lib/arm64, /data/app/sample.tencent.matrix-kOfyiXTJBuBkdE3m-nrM9g==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
把matrix关掉就不会崩溃

ZhangYe135 avatar Aug 23 '21 03:08 ZhangYe135

matrix { trace { enable = false //if you don't want to use trace canary, set false baseMethodMapFile = "${project.buildDir}/matrix_output/Debug.methodmap" blackListFile = "${project.projectDir}/matrixTrace/blackMethodList.txt" } }

enable 设置为false 就可以了,所以 这个问题应该是引入trace引起的吧

可以参考:https://mp.weixin.qq.com/s/IfktLT317RVJzaCxCA3qhA

BeyondWorlds avatar Nov 10 '21 11:11 BeyondWorlds

碰到同样问题了:

异常类型:app 运行时异常

手机型号:华为P40

手机系统版本:harmony 2.0

matrix版本:2.0.8

gradle版本:7.2.2

Android studio版本:2021.2.1

sweord avatar Aug 29 '22 08:08 sweord