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
Post a Comment