Call for Help: making free software builds of the Android SDK

free-software
debian

#42

@Beuc For the privext, I did this hack temporarily.

Unsure as to what proprietary license you’re referring too, all of the code linked above / used by me is Apache 2.


#43

I was answering to @hans wrt using google’s repository.xml as a starting point, sorry I wasn’t clear.


#44

Congratulations and thank you to the people who worked for those builds to happen. If there are some guides/posts on how to use them that 'd be really helpful (if anyone can post them here or point to where they are).


#45

Thanks for your supporting message!
Right now the easiest is downloading and extracting a bundle from https://android-rebuilds.beuc.net/ but we’d like to setup the new repository so people could use grab individual components (and pick versions) directly from sdkmanager.
This requires overriding google’s repos in that tool, and setup the new repo accordingly. All help is welcome :slight_smile:


#46

Btw I added a few static index.html so people can browse the files and get a better idea of what we got already.
@hans is the NoIndex web configuration a security measure or just a default that we could change?


#47

I read this and I am not sure: Is a google maven repository clone planned too (with reproducible builds of the libraries if possible)? (this is the repository with the support libraries AND some closed source components which should not be cloned) This would have the benefit that Google can’t break builds by doing something stupid (it once was required to move the google maven repo to the top of the repo list because otherwise projects won’t build anymore). Moreover, it would allow developing Android Apps without interactions with Google servers (at every hit of the run button in android studio, a request is sent to check for library updates, this is not really something I like).


#48

@l-jonas speaking for myself my main focus is the base NDK and SDK, but the project goal is providing Android dev tools without the non-free binary license.
A secondary goal is to provide dev tools to countries blocked by google.
Is the maven repository impacted by these?

Also for the privacy issue, maybe you can mitigate with a local caching proxy :slight_smile:


#49

I set up a proxy (with HTTPS interception). The request at very run seems to be wrong. I was even able to use Android Studio without internet connection (without enabling the offline mode in the settings in Android Studio). Bad brain or this has changed during the last months.


#50

FYI I added API-27 packages.
https://mirror.f-droid.org/android-free/repository/
Listing:
https://android-rebuilds.beuc.net/


#51

And @cdesai 's F-Droid-flavored sys-image for emulators :slight_smile:


#52

What do you mean by this?


#53

@JosephJones check a few posts above starting at :


#54

Looks like it is quite easy to build the “sources” zipballs, that would be nice to include in this repo: https://gist.github.com/cketti/71475220a08c9ee43fd48ecaaf7046a5


#55

Thanks for the recipe link!
Is there a difference with the packages that we already provide?
e.g. https://mirror.f-droid.org/android-free/repository/sdk-repo-linux-sources-userdebug.9.0.0_r33.zip


#56

Ah, hehe, perhaps not, except for the file name. What do you think about using the same filenames as upstream?


#57

Like this one?
https://mirror.f-droid.org/android-free/repository/sources-26_r01.zip
(I didn’t do it for all the builds for now since this needs to be automated and reformatted.)


#58

Looks great, matches upstream: https://dl.google.com/android/repository/sources-26_r01.zip