You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.
My app is crashing when building release. For example Flutter build apk --release and installing the apk.
Seems to work find when running flutter run --release to the physical device.
This is a crash report from it. This is happening on multiple physical devices.
App works fine on iOS
java.lang.RuntimeException:
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4444)
at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4476)
at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2066)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:223)
at android.app.ActivityThread.main (ActivityThread.java:7656)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:947)
Caused by: java.lang.RuntimeException:
at java.lang.Enum.enumValues (Enum.java:270)
at java.lang.Enum.access$000 (Enum.java:61)
at java.lang.Enum$1.create (Enum.java:277)
at java.lang.Enum$1.create (Enum.java:275)
at libcore.util.BasicLruCache.get (BasicLruCache.java:63)
at java.lang.Enum.getSharedConstants (Enum.java:289)
at java.lang.Class.getEnumConstantsShared (Class.java:2428)
at java.util.EnumMap.getKeyUniverse (EnumMap.java:755)
at java.util.EnumMap. (EnumMap.java:138)
at me.dm7.barcodescanner.zxing.ZXingScannerView.f (ZXingScannerView.java:4)
at me.dm7.barcodescanner.zxing.ZXingScannerView. (ZXingScannerView.java:3)
at de.mintware.barcode_scan.ZXingAutofocusScannerView. (ZXingAutofocusScannerView.java:5)
at de.mintware.barcode_scan.BarcodeScannerActivity.setupScannerView (BarcodeScannerActivity.java:1)
at de.mintware.barcode_scan.BarcodeScannerActivity.onResume (BarcodeScannerActivity.java:1)
at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1456)
at android.app.Activity.performResume (Activity.java:8135)
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4434)
at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4476)
at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2066)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:223)
at android.app.ActivityThread.main (ActivityThread.java:7656)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:947)
Caused by: java.lang.NoSuchMethodException:
at java.lang.Class.getMethod (Class.java:2072)
at java.lang.Class.getDeclaredMethod (Class.java:2050)
at java.lang.Enum.enumValues (Enum.java:267)
at java.lang.Enum.access$000 (Enum.java:61)
at java.lang.Enum$1.create (Enum.java:277)
at java.lang.Enum$1.create (Enum.java:275)
at libcore.util.BasicLruCache.get (BasicLruCache.java:63)
at java.lang.Enum.getSharedConstants (Enum.java:289)
at java.lang.Class.getEnumConstantsShared (Class.java:2428)
at java.util.EnumMap.getKeyUniverse (EnumMap.java:755)
at java.util.EnumMap. (EnumMap.java:138)
at me.dm7.barcodescanner.zxing.ZXingScannerView.f (ZXingScannerView.java:4)
at me.dm7.barcodescanner.zxing.ZXingScannerView. (ZXingScannerView.java:3)
at de.mintware.barcode_scan.ZXingAutofocusScannerView. (ZXingAutofocusScannerView.java:5)
at de.mintware.barcode_scan.BarcodeScannerActivity.setupScannerView (BarcodeScannerActivity.java:1)
at de.mintware.barcode_scan.BarcodeScannerActivity.onResume (BarcodeScannerActivity.java:1)
at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1456)
at android.app.Activity.performResume (Activity.java:8135)
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4434)
at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4476)
at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2066)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:223)
at android.app.ActivityThread.main (ActivityThread.java:7656)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:947)
The text was updated successfully, but these errors were encountered:
My app is crashing when building release. For example Flutter build apk --release and installing the apk.
Seems to work find when running flutter run --release to the physical device.
This is a crash report from it. This is happening on multiple physical devices.
App works fine on iOS
java.lang.RuntimeException:
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4444)
at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4476)
at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2066)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:223)
at android.app.ActivityThread.main (ActivityThread.java:7656)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:947)
Caused by: java.lang.RuntimeException:
at java.lang.Enum.enumValues (Enum.java:270)
at java.lang.Enum.access$000 (Enum.java:61)
at java.lang.Enum$1.create (Enum.java:277)
at java.lang.Enum$1.create (Enum.java:275)
at libcore.util.BasicLruCache.get (BasicLruCache.java:63)
at java.lang.Enum.getSharedConstants (Enum.java:289)
at java.lang.Class.getEnumConstantsShared (Class.java:2428)
at java.util.EnumMap.getKeyUniverse (EnumMap.java:755)
at java.util.EnumMap. (EnumMap.java:138)
at me.dm7.barcodescanner.zxing.ZXingScannerView.f (ZXingScannerView.java:4)
at me.dm7.barcodescanner.zxing.ZXingScannerView. (ZXingScannerView.java:3)
at de.mintware.barcode_scan.ZXingAutofocusScannerView. (ZXingAutofocusScannerView.java:5)
at de.mintware.barcode_scan.BarcodeScannerActivity.setupScannerView (BarcodeScannerActivity.java:1)
at de.mintware.barcode_scan.BarcodeScannerActivity.onResume (BarcodeScannerActivity.java:1)
at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1456)
at android.app.Activity.performResume (Activity.java:8135)
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4434)
at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4476)
at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2066)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:223)
at android.app.ActivityThread.main (ActivityThread.java:7656)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:947)
Caused by: java.lang.NoSuchMethodException:
at java.lang.Class.getMethod (Class.java:2072)
at java.lang.Class.getDeclaredMethod (Class.java:2050)
at java.lang.Enum.enumValues (Enum.java:267)
at java.lang.Enum.access$000 (Enum.java:61)
at java.lang.Enum$1.create (Enum.java:277)
at java.lang.Enum$1.create (Enum.java:275)
at libcore.util.BasicLruCache.get (BasicLruCache.java:63)
at java.lang.Enum.getSharedConstants (Enum.java:289)
at java.lang.Class.getEnumConstantsShared (Class.java:2428)
at java.util.EnumMap.getKeyUniverse (EnumMap.java:755)
at java.util.EnumMap. (EnumMap.java:138)
at me.dm7.barcodescanner.zxing.ZXingScannerView.f (ZXingScannerView.java:4)
at me.dm7.barcodescanner.zxing.ZXingScannerView. (ZXingScannerView.java:3)
at de.mintware.barcode_scan.ZXingAutofocusScannerView. (ZXingAutofocusScannerView.java:5)
at de.mintware.barcode_scan.BarcodeScannerActivity.setupScannerView (BarcodeScannerActivity.java:1)
at de.mintware.barcode_scan.BarcodeScannerActivity.onResume (BarcodeScannerActivity.java:1)
at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1456)
at android.app.Activity.performResume (Activity.java:8135)
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4434)
at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4476)
at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2066)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:223)
at android.app.ActivityThread.main (ActivityThread.java:7656)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:947)
The text was updated successfully, but these errors were encountered: