https://kotlinlang.org logo
#android
Title
# android
d

dekans

03/11/2020, 5:29 PM
Is it possible to enable assertions in Android debug builds via gradle (and not in release builds)?
j

jw

03/11/2020, 7:27 PM
No. The VM does not expose the ability to enable assertions to regular apps.
d

dekans

03/11/2020, 10:07 PM
Thanks, I had little hope on it. I'll code one with
if (BuildConfig.Debug)
then.
9 Views