.gitignore has listed /app/build since it was written, but 187 files under it
were already tracked by then, and ignore rules do not apply to tracked files.
So every `git reset --hard origin/main` restored a set of .class files built on
18 August into app/build/bin/classesdebug/.
Those stale classes cover com.wytehat.btlogger and contain no
DeviceRegistration, SecureStore or DeviceIdentity. AIDE resolved the package
against them rather than against the sources beside them and reported
"Unknown entity 'DeviceRegistration'" in ServerUploader - code that compiles
clean against android.jar.
The committed app/build/gen/R.java is the same problem one step along: it
predates the sort_button id, so anything compiling against it fails on a
button that has been in res/layout/main.xml for days.
Removed from the index only. The directory stays on disk, AIDE keeps its
incremental build, and it will not travel between machines again.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>