Closed
Bug 1401770
Opened 8 years ago
Closed 8 years ago
Gradle builds failing: cannot find symbol R.drawable.ic_status_logo
Categories
(Firefox Build System :: Android Studio and Gradle Integration, defect)
Firefox Build System
Android Studio and Gradle Integration
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: Grisha, Unassigned)
Details
I'm not sure if I'm doing something wrong, but local ./mach gradle app:assembleLocalPhotonDebug builds started failing for me recently with the following errors. Regular builds work, and everything otherwise seems normal.
:app:compileLocalOldPhotonDebugJavaWithJavac
/home/grisha/Code/mozilla-central/mobile/android/base/java/org/mozilla/gecko/mma/MmaDelegate.java:182: error: cannot find symbol
mmaHelper.setCustomIcon(R.drawable.ic_status_logo);
^
symbol: variable ic_status_logo
location: class drawable
/home/grisha/Code/mozilla-central/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java:966: error: cannot find symbol
.setSmallIcon(R.drawable.ic_status_logo)
^
symbol: variable ic_status_logo
location: class drawable
/home/grisha/Code/mozilla-central/mobile/android/base/java/org/mozilla/gecko/notifications/WhatsNewReceiver.java:66: error: cannot find symbol
.setSmallIcon(R.drawable.ic_status_logo)
^
symbol: variable ic_status_logo
location: class drawable
/home/grisha/Code/mozilla-central/mobile/android/base/java/org/mozilla/gecko/notifications/NotificationClient.java:148: error: cannot find symbol
.setSmallIcon(R.drawable.ic_status_logo)
^
symbol: variable ic_status_logo
location: class drawable
/home/grisha/Code/mozilla-central/mobile/android/base/java/org/mozilla/gecko/DataReportingNotification.java:103: error: cannot find symbol
.setSmallIcon(R.drawable.ic_status_logo)
^
symbol: variable ic_status_logo
location: class drawable
/home/grisha/Code/mozilla-central/mobile/android/base/java/org/mozilla/gecko/tabqueue/TabQueueService.java:254: error: cannot find symbol
.setSmallIcon(R.drawable.ic_status_logo)
^
symbol: variable ic_status_logo
location: class drawable
/home/grisha/Code/mozilla-central/mobile/android/base/java/org/mozilla/gecko/tabqueue/TabQueueHelper.java:246: error: cannot find symbol
.setSmallIcon(R.drawable.ic_status_logo)
^
symbol: variable ic_status_logo
location: class drawable
/home/grisha/Code/mozilla-central/mobile/android/base/java/org/mozilla/gecko/updater/UpdateService.java:329: error: cannot find symbol
builder.setSmallIcon(R.drawable.ic_status_logo);
^
symbol: variable ic_status_logo
location: class drawable
/home/grisha/Code/mozilla-central/mobile/android/base/java/org/mozilla/gecko/updater/UpdateService.java:364: error: cannot find symbol
builder.setSmallIcon(R.drawable.ic_status_logo);
^
symbol: variable ic_status_logo
location: class drawable
/home/grisha/Code/mozilla-central/mobile/android/base/java/org/mozilla/gecko/updater/UpdateService.java:501: error: cannot find symbol
builder.setSmallIcon(R.drawable.ic_status_logo);
^
symbol: variable ic_status_logo
location: class drawable
/home/grisha/Code/mozilla-central/mobile/android/base/java/org/mozilla/gecko/updater/UpdateService.java:716: error: cannot find symbol
.setSmallIcon(R.drawable.ic_status_logo)
^
symbol: variable ic_status_logo
location: class drawable
/home/grisha/Code/mozilla-central/mobile/android/services/src/main/java/org/mozilla/gecko/fxa/sync/FxAccountNotificationManager.java:107: error: cannot find symbol
.setSmallIcon(R.drawable.ic_status_logo)
^
symbol: variable ic_status_logo
location: class drawable
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
12 errors
Reporter | ||
Comment 1•8 years ago
|
||
Well, seems that this asset was removed, and I probably had something locally cached that was triggering a failure.
./mach gradle clean fixed things.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Updated•6 years ago
|
Product: Firefox for Android → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•