r/reactnative • u/Miserable-Pause7650 • 10d ago
Why is dex code optimization at 0% in android
/r/expo/comments/1y3loza/why_is_dex_code_optimization_at_0_in_android/
2
Upvotes
r/reactnative • u/Miserable-Pause7650 • 10d ago
View all comments
2
u/Western_Cap_6934 10d ago
A possible cause is -dontoptimize in the generated release R8 configuration. It disables code optimization while shrinking and obfuscation can still run.