You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Description of the issue]
When using latest Leak Canary within Android Studio 3.5.2 we get the following warning generated from the leak_canary_about_message:
warn: multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?.
I think the fix is as simple as changing the string to include the positional markers:
<stringname="leak_canary_about_message"><![CDATA[This is a dev extension for <b>%1$s</b> (<i>%2$s</i>), automatically added by the LeakCanary library.<br><br> <a href="https://github.com/square/leakcanary">LeakCanary</a> is a memory leak detection library for Android, created and open source by <a href="https://twitter.com/Piwai">Pierre-Yves Ricau</a> at <a href="https://square.github.io">Square</a>.<br><br> You can learn more about memory leaks at <a href="https://squ.re/leaks">https://squ.re/leaks</a>.<br><br> We welcome contributions from the community, please do not hesitate to <a href="https://github.com/square/leakcanary/issues">report an issue</a> or open a pull request!<br>]]></string>
Steps to Reproduce
Just include latest Leak Canary, build, and watch your build warnings.
Expected behavior:
No warning and for the string to follow multiple substitution and formatting guidelines for Android Studio 3.5.2
Version Information
LeakCanary version: 1.6.3
Android OS version: N/A
Android Studio version: 3.5.2
The text was updated successfully, but these errors were encountered:
Description
[Description of the issue]
When using latest Leak Canary within Android Studio 3.5.2 we get the following warning generated from the
leak_canary_about_message
:I think the fix is as simple as changing the string to include the positional markers:
Steps to Reproduce
Just include latest Leak Canary, build, and watch your build warnings.
Expected behavior:
No warning and for the string to follow multiple substitution and formatting guidelines for Android Studio 3.5.2
Version Information
The text was updated successfully, but these errors were encountered: