How to use Acra in release build only? -


i trying use http://www.acra.ch/ in android app.

how can make such acra used in release build , not in debug builds.

i have set dependencies accordingly , have applicationcontroller(extends application) class configured accordingly.

how both? i.e. how add dependency release , how configure applicationcontroller(extends application) class configured?

i should mention using applicationcontroller(extends application) class functionality of app.

just don't initialize acra in debug build:

if(!buildconfig.debug) acra.init(this); 

if want exclude dependency in debug build, use releasecompile


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -