Closed
Bug 1259098
(build-android-n)
Opened 9 years ago
Closed 7 years ago
[meta] Build with Android N SDK (API 24/25)
Categories
(Firefox Build System :: Android Studio and Gradle Integration, defect, P3)
Firefox Build System
Android Studio and Gradle Integration
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nalexander, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: meta)
Attachments
(1 file)
|
3.27 KB,
patch
|
Details | Diff | Splinter Review |
This bug tracks bugs that need to be fixed in order to build with the Android N SDK. In contrast, Bug 1255124 currently tracks all Android N runtime issues.
| Reporter | ||
Comment 1•9 years ago
|
||
In theory, we can do all this build stuff against the in-tree Gradle configuration, in which case it's likely very easy. If we need to support Android N earlier than Gradle, it's an unknown amount of work; sebastian posits that "we are required to use jack and java8".
Comment 2•9 years ago
|
||
If we need to switch to the Android N SDK before we migrate to Gradle then this article might be handy:
http://czak.pl/2016/05/31/handbuilt-android-project.html
Comment 3•9 years ago
|
||
I read somewhere that you do not need to use the new compiler if you do not use the new Java 8 features. I tried that and it kind of works but then it breaks Proguard which is not able to read the Android source code (android.jar?) compiled with Java 8 (SDK 24).
Comment 4•9 years ago
|
||
The SDK for API 25 has been released yesterday. Sooner or later we might be interested in implementing some of the new features (app shortcuts, round launcher icons, ..).
I see two options for us:
* Switching compilers to use jack/jill - See link in comment 2
* Finally switch to full gradle builds
My guess is that switching the compilers might be easier (if no blockers come up) but switching to gradle builds is more future proof and unlocks more build features (gradle plugins, easier dependencies, ..).
Summary: [meta] Build with Android N SDK (API 24) → [meta] Build with Android N SDK (API 24/25)
Comment 5•8 years ago
|
||
'jack' is going away again: https://android-developers.googleblog.com/2017/03/future-of-java-8-language-feature.html
Updated•8 years ago
|
See Also: → build-android-o
This patch lets me build against SDK 26. I had to monkey patch the proguard in my SDK with an updated one, but otherwise not too bad.
Updated•8 years ago
|
Priority: -- → P3
Depends on: 1316934
Comment 7•7 years ago
|
||
Bug 1352015 is now fixed.
Should we leave this bug open?
| Reporter | ||
Comment 8•7 years ago
|
||
(In reply to Takanori MATSUURA from comment #7)
> Bug 1352015 is now fixed.
> Should we leave this bug open?
I imagine we want to make the dependencies of this ticket dependencies of Bug 1352015, or whatever the "target android-O" ticket is, but I've lost track of what is involved here.
Comment 9•7 years ago
|
||
I think only multi-window support (bug 1278364) and App Shortcuts (bug 1311992) are related to the *target* API, so I've added some appropriate dependencies I hope.
For the former we should test how we behave with the target API set to 24+ and if necessary either fix things, or if we don't have the resources for that explicitly disable multi-window support in the manifest.
The latter I think simply won't work until our target API is at least 25.
Everything else looks like it should be fine if we're compiling with something >= 24, so I declare this as fixed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
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
•