Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
如何使用 Lint Option StopShip 使 Grade 发布构建失败?
我读过很多关于StopShipAndroid Lint Check 和 Gradle 支持 http tools android com tips lint checks http tools android com tips lint c
Android
Gradle
androidgradleplugin
buildgradle
androidlint
该 Handler 类应该是静态的,否则可能会发生泄漏:IncomingHandler
我正在开发一个带有服务的 Android 2 3 3 应用程序 我在该服务中有这个与主要活动进行通信 public class UDPListenerService extends Service private static final
Android
memoryleaks
staticclasses
androidlint
androidhandler
如何阻止 Android Lint 抱怨未翻译的字符串?
是否可以指定文件中的字符串values目录故意不翻译成其他语言 我有一堆所有语言通用的字符串 不需要翻译 我创建了一个unlocalized strings xml文件内的values目录 当我运行 Android Lint 检查问题时 它
Android
androidresources
androidlint
@IntDef 注释和从其他无法注释的代码返回值或如何暂时禁用注释影响代码?
我在用IntDef https developer android com reference android support annotation IntDef html from Android 支持注解 https sites goo
Java
Android
annotations
androidsupportlibrary
androidlint
警告:此
可以替换为
标记
我有一个FrameLayout其中包含一个TextView和两个LinearLayouts
Android
xml
androidframelayout
androidlint
Kotlin 和 Android lint 检查
我最近真的很喜欢用 Kotlin 编写 Android 应用程序 但我真的很怀念 lint 任何人都知道如何恢复 至少部分恢复 有没有一个项目可以将android java lint规则适配到kotlin AFAIK lint 不仅仅在字节
Android
kotlin
androidlint
为什么 Android Lint 在显式使用 Locale.US 时会警告 String.format 使用默认区域设置?
我最初打电话String format这边走 return String format s f f anotherString doubleA doubleB 这使得 Android Lint 生成此警告 隐式使用默认区域设置是错误的常见来
Android
eclipse
androidlint
奇怪的 Lint 警告 - 在布局文件中发现意外的文本:“”
我在button selector xml 中定义了以下选择器
Android
androidlint
Android Eclipse Lint API 检查
谢谢 P T 看起来像是问题的正确答案在 Eclipse 中构建多 SDK Android 应用程序而不会丢失编译时检查 https stackoverflow com questions 7642249 但是 当我尝试按照建议使用 Tar
Android
eclipse
androidlint
Android Lint 限制语言以检查缺失的翻译
我的应用程序仅支持 2 种语言 英语和德语 所以我有这样的语言字符串文件夹结构 myproject res values strings xml myproject res values de strings xml 当我运行 Lint 检
Android
androidlint
如果我在 android 代码中使用 java.lang.Iterable#forEach,Lint 会给出错误
在我的 android 代码 Kotlin 中 我使用 java iterable 的 forEach 方法 mandatoryViews forEach view gt my code here 下面是我在 build gradle ap
Java
Android
kotlin
Lint
androidlint
Android - 将除某些警告之外的所有 lint 警告设置为错误
当新的 lint 警告不在其中时 我试图使我的持续集成使构建失败lint baseline xml文件有介绍 我希望将所有 lint 警告视为错误 因此构建被中止 但我想要一种方法来指定某些 lint 检查被视为信息或警告级别 以便它们仍然
Android
AndroidStudio
androidgradleplugin
Lint
androidlint
Android Studio 中的 lint 如何与 IntelliJ 检查集成?
据我所知 Android Studio中有两种类型的检查 一种是从IntelliJ继承的 另一种是从lint继承的 参见 命令行上的 Android lint 缺少问题组 与 Android Studio 中提供的选项相比 我还了解到 当您
Android
AndroidStudio
intellijidea
intellijplugin
androidlint
xml 资源中的警告
昨天我再次安装了 ADT 插件 因为我已经拥有的版本遇到了问题 间歇性 问题是 我没有在所有 xml 资源中收到警告 我非常确定我以前没有见过他们 其中一些很烦人 因为我对此无能为力 Nested weights are bad for p
Android
androidresources
androidlint
什么是“android:allowBackup”?
自从新的 ADT 预览版 版本 21 他们有一个新的 lint 警告 告诉我清单文件上的下一件事 在应用程序标记中 应明确将 android allowBackup 设置为 true 或 false 默认情况下为 true 这可能会对应用程
Android
ADT
compilerwarnings
androidlint
androidbackupservice
Android Lint:如何抑制与支持库相关的所有警告?
我正在尝试使用 Android Lint 来保持代码顺利运行 但由于我使用的是 support v7 appcompat Lint 返回了一个巨大的 溢出的警告列表 如何抑制所有这些问题 以便我只能看到我自己的应用程序的问题 在 Lint
Android
eclipse
androidlint
androidappcompat
Lint:如何忽略“
未翻译为 <语言>”错误?
我无法编译 调试我们的 Android 应用程序 因为本地化文件还不完美 我的 IDE 验证工具Lint创建错误说 newCardsOrderVals 未翻译为 ar bg ca cs 使用 Ant 编译 安装 运行工作正常 但我想使用我的
eclipse
AndroidStudio
Localization
androidresources
androidlint
当我更新 Android 的 ADT 插件时,我运行 android lint ,将它用于 Android 项目有什么优点?
这里的每一个人 当我将我的 ADT 插件更新到 ADT 16 时 我得到一个新的 工具 东西 它运行 android Lint 当我在选择我的 android 项目后运行它时 它会给我更多与 android 项目相关的 550 警告 我应该
Android
androidlint
构建 android studio 项目时运行 lint
我希望在使用 android studio 构建项目时能够运行 lint 任务 以确保遵循 lint 规则 我尝试过使用任务依赖项 但没有成功 我的 TeamCity 构建服务器使用运行 lint 任务的构建任务 因此效果很好 然而 and
Android
AndroidStudio
Gradle
androidlint
如何在 Android Studio 中针对消息“调用需要 API 级别 21(当前最小值为 16)”启用 lint 错误?
我有一个方法叫做setImageTintList 这要求最小 API 为 21 但是 如果我在 gradle 中将最小 API 设置为 16 应用程序仍然会在没有任何警告的情况下构建 虽然有一条红线说 setImageTintList 调用
Android
AndroidStudio
androidgradleplugin
androidlint
1
2
»