Inspectopedia Help

Illegal Android Identifier

Reports Android projects identifiers that are not accepted by the Android runtime. For example, method names with whitespaces.

Example:

class Test { var `a b c` = 3 }

To fix the problem change the identifier's name to match the Android runtime requirements.

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3

Plugin:

Android, 2022.3.1 Beta 2

Last modified: 13 July 2023