C
C
Chvalov2015-08-27 19:38:17
Android
Chvalov, 2015-08-27 19:38:17

Is it possible to build an Android project with automatic removal of debug information Log?

There is a lot of debugging information in the project that is not desirable for outsiders to view, is it possible to exclude util.Log from compilation when building the project in Android studio?
Here's an example of what I'm talking aboutLog.d("myApp", "my debug message");

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Константин Берков, 2015-08-27
@Chvalov

Google it first. Еще можно использовать свою кастомную обертку над Log в которой в зависимости от flavour ничего не выводить. Или использовать Timber

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question