Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
[ID: 558956]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Android Studio 3.5.2
Build #AI-191.8026.42.35.5977832, built on October 30, 2019
JRE: 1.8.0_202-release-1483-b03 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Version of Gradle Plugin: 3.5.2
Version of Gradle: 5.4.1
Version of Java: 1.8
OS: Windows
Steps to Reproduce:
1. Analyze -> Inspect Code -> Lint (when it finds "unused resources")
2. Fix lint errors by using "Remove all unused resources"
3. an androidx.navigation component file (e.g. navigation.xml) gets stripped of its action's ids
I'm guessing it is because the action ids are only ever used in generated classes and AS thinks they are unused.