Open
Bug 1317218
Opened 8 years ago
Updated 2 years ago
Bootstrap should ask for (and use) existing Android sdk and ndk locations
Categories
(Firefox Build System :: Android Studio and Gradle Integration, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: ahunt, Unassigned)
Details
Some contributors who are building Fennec for the first time might already have copies of the Android sdk (and ndk) installed. We should provide some way of letting bootstrap know about these, in order to avoid unnecessary duplicate copies (which in turn saves disk space, and minimises annoyance). Maybe a prompt at the start of bootstrap asking for existing sdk and ndk locations? Ideally we'd support downloading any needed missing sdk package into an existing sdk installation. The ndk would have to be tested to ensure that it's a compatible version.
Reporter | ||
Comment 1•8 years ago
|
||
Or a simpler solution: ask whether or not the sdk/ndk should be installed during bootstrap (and warn the user that they'll need to install the appropriate sdk packages themselves, i.e. build tools X / sdk Y / support library repo / etc). This would still permit using bootstrap to install relevant system dependencies, without tying that to a potentially unneeded sdk download.
Reporter | ||
Comment 2•8 years ago
|
||
Even simpler: we should provide a step by step guide listing all the required dependencies, as an alternative to |mach bootstrap|, and a clear warning at the start of bootstrap explaining what bootstrap is going to do / how to avoid the mercurial/sdk installs. (Apparently mach bootstrap sets up mercurial too, but there are plenty of git users around too.)
Comment 3•8 years ago
|
||
Also: Often developers have set ANDROID_HOME and we could just use that if it is available.
Updated•5 years ago
|
Product: Firefox for Android → Firefox Build System
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•