Config.LOGD是德precated [英] Config.LOGD is deprecated

查看:155
本文介绍了Config.LOGD是德precated的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在android.util.Config的Config.LOGD,Config.LOGV现在去precated。你能告诉我如何重构我的code,以便摆脱编译器生成的警告呢?

In android.util.Config, the Config.LOGD, Config.LOGV are now deprecated. Can you please tell me how to refactor my code to in order to get rid of the warnings compiler generated?

感谢您。

推荐答案

您应该使用Config.DEBUG(在调试模式下真),而不是Config.LOGD。

You should use Config.DEBUG(true in Debug mode) instead of Config.LOGD.

这篇关于Config.LOGD是德precated的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆