-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Open
1 / 11 of 1 issue completedOpen
1 / 11 of 1 issue completed
Copy link
Labels
0.kind: enhancementAdd something new or improve an existing system.Add something new or improve an existing system.2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Description
We should build as much Android tools as possible from source. The most relevant tool is probably the adb (Android Debug Bridge) to communicate with Android phones.
Reason
The official builds from Google are distributed under an unfree license (see #53403).
Difficulty
Probably high.
Resources
- References:
- Debian efforts: AndroidTools
- Arch package: android-tools
- adb (and other Android tools)
- Requires a custom build system: Soong
- Not in Nixpkgs yet -> wee need a package and an abstraction for building packages with Soong first.
- Official documentation: https://source.android.com/setup/build
- Source-code: https://android.googlesource.com/platform/system/adb/+/refs/heads/master
- Requires a custom build system: Soong
- Android Studio
- Official documentation: https://android.googlesource.com/platform/tools/base/+/studio-master-dev/source.md
- Tried it once (all information IIRC, without any guarantees), the build required a
gitRepocheckout of ~40GB. Then there are multiple steps involved (without much documentation), but the the build itself was working. The main problem problem is to put all results back together (IntelliJ IDEA, the Android "plugin", and the Android Gradle plugin). And we also don't build IntelliJ IDEA from source so that might be a problem as well.
Reactions are currently unavailable
Sub-issues
Metadata
Metadata
Assignees
Labels
0.kind: enhancementAdd something new or improve an existing system.Add something new or improve an existing system.2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md