Closed Bug 1249421 Opened 6 years ago Closed 4 years ago

IJ / gradle build fails with missing AndroidManifest.xml

Categories

(Firefox Build System :: Android Studio and Gradle Integration, defect)

defect
Not set
normal

Tracking

(firefox47 affected, firefox58 fixed)

RESOLVED FIXED
mozilla58
Tracking Status
firefox47 --- affected
firefox58 --- fixed

People

(Reporter: ahunt, Assigned: nalexander)

Details

Attachments

(1 file, 1 obsolete file)

A fresh checkout from now, results in the following Gradle error:

1) ./mach clobber && ./mach build && ./mach artifact install && ./mach package
2) open project in IJ
3) Possibly start a gradle sync

I see the following error in my Messages window:

Gradle 'fx2' project refresh failed:

Error:Cause: java.io.FileNotFoundException: /Users/andrzejhunt/ff/fx2/objdir-frontend/gradle/build/mobile/android/app/generated/source/preprocessed_manifest/AndroidManifest.xml (No such file or directory)
/Users/andrzejhunt/ff/fx2/objdir-frontend/gradle/build/mobile/android/app/generated/source/preprocessed_manifest/AndroidManifest.xml (No such file or directory)

My tip:
changeset:   284701:f9e4a56281d8
Replacing "1.5.0" with "1.3.0" in build.gradle, followed by running "./mach gradle app:assembleLocalDebug" results in a successful build
Comment on attachment 8729272 [details]
MozReview Request: Bug 1249421 - Generate gradle_AndroidManifest.xml like AndroidManifest.xml. r=me,ahunt

https://reviewboard.mozilla.org/r/39331/#review36165

Clearing review for now, based on discussion on IRC!
Attachment #8729272 - Flags: review?(ahunt)
Attachment #8729272 - Attachment is obsolete: true
Comment on attachment 8922439 [details]
Bug 1249421 - Include stub AndroidManifest.xml.

https://reviewboard.mozilla.org/r/193486/#review199346
Attachment #8922439 - Flags: review?(max) → review+
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Pushed by nalexander@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6a3ca81dc56a
Include stub AndroidManifest.xml. r=maliu
https://hg.mozilla.org/mozilla-central/rev/6a3ca81dc56a
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 58 → mozilla58
You need to log in before you can comment on or make changes to this bug.