我在我的应用程序中使用了 gms.vision api 进行条形码扫描。我升级了我的工作室 gradle 来创建 aab 文件。我开始仅在发布模式下遇到崩溃问题,日志如下:java.lang.IllegalArgumentException: Unexpected number of IObjectWrapper declared fields: 0 at vyc.a(:com.google.android.gms@19275046@19.2.75 (120400-269183835):9) at com.google.android.gms.vision.client.DynamiteNativeBarcodeDetectorCreator.newBarcodeDetector(:com.google.android.gms@19275046@19.2.75 (120400-269183835):1) at awhf.a(:com.google.android.gms@19275046@19.2.75 (120400-269183835):3) at cqq.onTransact(:com.google.android.gms@19275046@19.2.75 (120400-269183835):3) at android.os.Binder.transact(Binder.java:914) at com.google.android.gms.vision.barcode.internal.client.c$a$a.a(Unknown Source:40) at com.google.android.gms.vision.barcode.internal.client.d$a.b(Unknown Source:14) at com.google.android.gms.vision.barcode.internal.client.d$a.a(Unknown Source:13) at com.google.android.gms.vision.barcode.internal.client.d.b(Unknown Source:11) at com.google.android.gms.vision.barcode.internal.client.d.<init>(Unknown Source:17) at com.google.android.gms.vision.barcode.a$b.a(Unknown Source:6)我在依赖项下添加了视觉库,如下所示:implementation "com.google.android.gms:play-services-vision:"8.3.0"在不升级vision api版本的情况下,有没有办法解决这个崩溃问题?
添加回答
举报
0/150
提交
取消