Closed Bug 1380736 Opened 7 years ago Closed 7 years ago

mach build fails: "Unable to find android sdk's lint jar"

Categories

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

56 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1344244

People

(Reporter: mcomella, Unassigned)

Details

Attachments

(2 files)

Attached file Failure output
I had an existing install of m-c that I'm trying to revive. I ran `mach bootstrap`, but there were a lot of errors (I pieced it together as much as possible) but now `mach build` still fails. Here's the key error line:

 0:07.63 DEBUG: configure: error: Unable to find android sdk's lint jar. This probably means that you need to update android.m4 to find the latest version of lint-*.jar and all its dependencies. (looked for /Users/mcomella/.mozbuild/android-sdk-macosx/tools/lib/lint-25.3.1.jar and /Users/mcomella/.mozbuild/android-sdk-macosx/tools/lib/lint.jar)

I'm guessing I downloaded a new version when I ran `mach bootstrap`. If things haven't changed, the Android SDK doesn't make it easy to get `x.x.x` releases (as opposed to `x.x`) so I think we should just bump the dependency to the latest version. Though, I wonder about the time it'd take to update the build machines with the latest dependencies too and get everyone up to the latest version...

Nick, any ideas? Or perhaps there's someone else who'd be more appropriate to ask at this point?
Flags: needinfo?(nalexander)
Comment on attachment 8886275 [details] [diff] [review]
Patch-ish

I can't remember how to post a patch but this change works locally.
Attachment #8886275 - Attachment description: Patch → Patch-ish
Attachment #8886275 - Attachment is patch: true
This will be addressed by the part 1 patch that has r+ on Bug 1344244.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(nalexander)
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: