Permission names are not unique
Permission names are not unique
The unqualified names or your permissions must be unique. The reason for this is that at build time, the aapt
tool will generate a class named Manifest
which contains a field for each of your permissions. These fields are named using your permission unqualified names (i.e. the name portion after the last dot).
If more than one permission maps to the same field name, that field will arbitrarily name just one of them.
Issue id: UniquePermission
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