Android SDK Tools in Debian
Description of the project: The Android platform is free software, including the tools used for developing apps for Android. Debian-derivatives are already a preferred platform for Android developers, and stretch already includes the core Android SDK tools, enough to build some apps. The Debian Android Tools team is working towards the goal of having the entire Android toolchain and SDK in Debian. That means Android apps can be developed using only free software from easy-to-use packages. In combination with Replicant, this will make the most popular operating system in the world, Android, into a 100% Free Software platform. This project is in conjunction with the Debian Java team, since many tools like gradle are for any Java software.
Confirmed Mentor: Chirayu Desai (UTC+5:30), chirayudesai1@gmail.com and cdesai on IRC
Confirmed co-mentors:
- Hans-Christoph Steiner (UTC+2), _hc on IRC and @eighthave:matrix.org
- Andrej Shadura (UTC+2), andrewsh on IRC
- Markus Koschany, apo on IRC
Deliverables of the project: The deliverables of this project will mostly be finished packages submitted to Debian sid, both for new packages and updated packages. Whenever possible, we should also try to get patches submitted and merged upstream in the Android sources.
Desirable skills: Building and packaging C/C++ and Java code, an understanding of git. Android development is preferable.
What the intern will learn: Students will learn to figure out large scale projects like Android, and how to organize their own work within such projects. They will also learn about building and packaging C and Java, as well as some of the guts of Android itself.
Related projects: links to some existing projects that are related.
Mentors affiliation with Debian: DDs: andrewsh, apo, eighthave DMs: cdesai
Application tasks: (simple tasks that could show your determination):
- Find out what new/missing components (ndk? emulator?) and the location of their source code
Check Android Tools bash completion for bugs and completeness (e.g. for adb, fastboot, etc), file bugs if it doesn't work properly
build an Android app using only apt install android-sdk android-sdk-platform-23 android-sdk-helper, a very simple app is good for trying
- anything else you think suitable.
We also have a list of issues that you could work on, see https://salsa.debian.org/android-tools-team/admin/-/issues?label_name%5B%5D=GSoC
Related projects: Replicant, the 100% free software Android ROM, uses our packages to provide a 100% free software Android SDK. F-Droid.
There are many chunks of work to be done, sorted in priority:
- Upgraded Kotlin, which is heavily used by Gradle and the SDK itself
Finish packaging version 6 of gradle , which is the official build system for Android apps
Restructure build-tools package based on upstream tags and platform-tools source packaging.
Make sdkmanager integrate nicely with tools packaged in Debian.
Package the latest Android Target Platform Framework (WiP)
Finish packaging all of the core development tools (Install android-sdk and compare /usr/lib/android-sdk with the one downloaded from Google)
Update android-tools and relevant pkg-java packages to the latest upstream version
- Create a tool to automatically make packages based on Maven Central's reproducible builds and source tarballs.
- Create a tool similar to game-data-packager but for Java: make Debian packages with jdeb based on download location, signed/unsigned tarball, build system, etc. These packages would go into contrib
- Port build systems from Gradle to Maven to
- Package and improve related tools, like apktool, androguard, fdroidserver, drozer, libscout, qark, OWASP Dependency Check, etc.
Improve android-sdk-helper
- Make all Android Tools packages build reproducibly
Add Continuous Integration tests
Improve package build systems to be more tightly integrated with upstream build systems (WiP)
- Package new parts of the Android upstream source, including the NDK, emulators, Android Studio, etc.
Since this project is a large one, multiple mentors and students could work on it simultaneously. You can find relevant documentation in READMEs in each git repo and source package. There is also this wiki section: AndroidTools
There is also a blog post about contributing to this project here
The Debian Android Tools Team works with git and git-buildpackage: PackagingWithGit