Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crash in release mode due to Proguard obfuscation #13

Open
AzimAnsari opened this issue Aug 7, 2023 · 1 comment
Open

App crash in release mode due to Proguard obfuscation #13

AzimAnsari opened this issue Aug 7, 2023 · 1 comment

Comments

@AzimAnsari
Copy link

AzimAnsari commented Aug 7, 2023

isMinifyEnabled = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)

Enabling Proguard optimisation crashed the app with below stack trace

E FATAL EXCEPTION: DefaultDispatcher-worker-2
Process: com.google.samples.apps.diceroller, PID: 8896
java.lang.RuntimeException: Field value_ for e2.c not found. Known fields are [public int e2.c.m, public java.lang.Object e2.c.n, public static final e2.c e2.c.o, public static volatile g2.v$b e2.c.p]
at g2.r0.H(Unknown Source:69)
at g2.r0.z(Unknown Source:615)
at g2.x0.a(Unknown Source:194)
at g2.v$a.i(Unknown Source:25)
at g2.v$a.h(Unknown Source:0)
at f2.g.c(Unknown Source:539)
at d2.j.d(Unknown Source:106)
at b2.k$d.i(Unknown Source:82)
at b2.k$d.u(Unknown Source:12)
at d2.i.e(Unknown Source:240)
at b2.k.i(Unknown Source:80)
at b2.x.i(Unknown Source:125)
at x2.a.q(Unknown Source:8)
at m3.h0.run(Unknown Source:105)
at r3.g$a.run(Unknown Source:3)
at s3.j.run(Unknown Source:2)
at s3.a$a.run(Unknown Source:95)
Suppressed: r3.e: [k1{Cancelling}@667b252, Dispatchers.Default]

@esosaphilip
Copy link

Hello AzimAnsari, I would liketocontribute to this project if itstill relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants