android - 如何在 AndroidManifest 中抑制此警告

标签 android warnings android-manifest

我的 AndroidManifest.xml 中有一行会产生警告,但我无法修复:

<activity android:name="com.paypal.android.MEP.PayPalActivity" />

我收到以下警告:Use '$' instead of '.' for inner classes (or use only lowercase letters in package names)

问题是,如果我替换 .对于$ ,该类(class)无法正常工作,我会得到一个 ActivityNotFoundException 。我读过有关 Android 中的 lints 的内容,但找不到我需要的内容。

你能告诉我如何解决这个问题吗?提前致谢。

最佳答案

Lint 规则称为 InnerclassSeparator。它属于正确性类别。

enter image description here

关于android - 如何在 AndroidManifest 中抑制此警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18485555/

相关文章:

android - android studio中的水平滚动

php - "Notice: Undefined variable"、 "Notice: Undefined index"、 "Warning: Undefined array key"和 "Notice: Undefined offset"使用 PHP

android - 如何在不丢失数据的情况下返回我的父 Activity ?

android - 将多个图像保存到外部存储android

android - AlertDialog MultipleChoice 不显示项目

android - 标题中带有复选框的自定义对话框

Android 应用程序未显示在 Play 商店中

ms-access - 如何摆脱VBA安全警告

warnings - 关闭时的 UIAlertView 警告

java - 重构包名破坏了整个应用程序