I added a couple dependencies to my Android project (both mapbox-related, I believe), and now I'm getting the following warning in my code:
How can I remove all warnings of this? I'm aware I can add @SuppressLint to remove warnings for this function but I want to remove all of these warnings from my app.
The Logcat window in Android Studio displays system messages, such as when a garbage collection occurs, and messages that you added to your app with the Log class. It displays messages in real time and keeps a history so you can view older messages.
log . When running Studio locally, you can find it under tools/idea/system/log .
The Android logging system provides a mechanism for collecting and viewing system debug output. Logcat dumps a log of system messages, which include things such as stack traces when the emulator throws an error and messages that you have written from your application by using the Log class.
Go to Android Studio Preferences.
Go to Editor -> Inspections -> Lint
Then search for Timber and uncheck "Logging call to Log instead of Timber"
Be aware that this will turn off this lint check for all of your projects
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With