颤抖中已签名的android应用中出现包裹错误

时间:2020-03-12 20:56:54

标签: java flutter

我在我的应用程序中使用Flutter,并且开发了一个库来与Samsung Health连接,我设法使其在开发模式下正常工作,但是在对我的应用程序签名后,出现以下错误:

03-04 02:46:48.397  9137 27937 E Parcel  : Class not found when unmarshalling: d.f.a.a.b.b.k.a
03-04 02:46:48.397  9137 27937 E Parcel  : java.lang.ClassNotFoundException: d.f.a.a.b.b.k.a
03-04 02:46:48.397  9137 27937 E Parcel  :  at java.lang.Class.classForName(Native Method)
03-04 02:46:48.397  9137 27937 E Parcel  :  at java.lang.Class.forName(Class.java:453)
03-04 02:46:48.397  9137 27937 E Parcel  :  at android.os.Parcel.readParcelableCreator(Parcel.java:2827)
03-04 02:46:48.397  9137 27937 E Parcel  :  at android.os.Parcel.readParcelable(Parcel.java:2781)
03-04 02:46:48.397  9137 27937 E Parcel  :  at com.samsung.android.sdk.internal.healthdata.ReadRequestImpl.<init>(ReadRequestImpl.java:87)
03-04 02:46:48.397  9137 27937 E Parcel  :  at com.samsung.android.sdk.internal.healthdata.ReadRequestImpl$1.createFromParcel(ReadRequestImpl.java:2133)
03-04 02:46:48.397  9137 27937 E Parcel  :  at com.samsung.android.sdk.healthdata.IDataResolver$Stub.onTransact(IDataResolver.java:165)
03-04 02:46:48.397  9137 27937 E Parcel  :  at android.os.Binder.execTransact(Binder.java:739)
03-04 02:46:48.397  9137 27937 E Parcel  : Caused by: java.lang.ClassNotFoundException: Didn't find class "d.f.a.a.b.b.k.a" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.sec.android.app.shealth-3hdi_DHJ3i242E0Cxexubw==/base.apk"],nativeLibraryDirectories=[/data/app/com.sec.android.app.shealth-3hdi_DHJ3i242E0Cxexubw==/lib/arm, /data/app/com.sec.android.app.shealth-3hdi_DHJ3i242E0Cxexubw==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
03-04 02:46:48.397  9137 27937 E Parcel  :  at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
03-04 02:46:48.397  9137 27937 E Parcel  :  at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
03-04 02:46:48.397  9137 27937 E Parcel  :  at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
03-04 02:46:48.397  9137 27937 E Parcel  :  ... 8 more
03-04 02:46:48.398  6604  6604 E StepCounterReader: Getting daily step trend fails.
03-04 02:46:48.398  6604  6604 E StepCounterReader: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: d.f.a.a.b.b.k.a

使用flutter build apk --release签名我的应用时出错

0 个答案:

没有答案