I started with Android development back in 2012. I had some technical success with Google’s SDK and Eclipse, then Android Studio and Gradle. Now there are “new” tools from Debian targeting Android 6.0. Discussion on Android development is scant on the Web, and discussion on using that toolset is almost nonexistent.
So, a few questions:
Does F-Droid build apps with Debian’s SDK?
Do people here know how to use Debian’s SDK?
Can I ask for help on using it?
Is there a thorough third-party tutorial on the ins and outs of using it?
You need a Debian-compatible OS, or at least one that uses APT. That includes Debian, Ubuntu derivatives, and Trisquel. I haven’t investigated ports to other package managers, but someone somewhere is probably doing it. When it comes to F-Droid, a big question is which OS they’re running the build server on.
Debian’s toolset only targets platform 23, but you can set minApiVersion to whatever you want. Android is nice like that.
Their mailing list is an “interesting” communication channel in that nobody is too active on there aside from spambots. You’ve got a healthy community here and I’ll see if there is any way I can help, though TBH setting up automated builds of any kind is out-of-scope for my current project. But if I do anything interesting with Debian’s Android SDK I’ll be sure to post about it.
@uniqx You said you could only build a small fraction of your catalog with Debian’s SDK – Could you point me to one of the apps on F-Droid that builds with Debian’s SDK?
#debian-mobile on OFTC is a good channel for discussing the Debian Android SDK. The only thing preventing it from working well for lots of apps is developer time, so contributions welcome.
Thanks. I’ve been in touch to a limited degree on their mailing list, and it seems the real problem is a lack of documentation, which could I suppose be due to a lack of developer time. The software does work, apparently. People just need to write better apps with fewer dependencies. I’m trying to put together a template project based on what I hear from them here:
@Beuc I am aware of your project, and it might be a good solution for F-Droid. But for myself and other app developers, I feel that simply replicating Google’s package management system is repeating the same disaster.
Sure, I was clarifying that despite f-droid not actively using it for building yet, the project keeps filling out.
Debian Android and Android Rebuilds take 2 different approaches with different limitations, which tend to be complimentary.
@Beuc I think we’re on the same page here. You’re doing what Replicant used to do, and I think collaboration between you and F-Droid would be wise.
As for the symbiosis between those packages and what Debian distributes, I wish I knew enough at this point to agree or disagree. I started a forum at mobilegamedev.org where I hope to both teach and learn. I’m also in touch with someone on the Debian Android tools mailing list who is providing a lot of helpful information, some of which is going over my head. I am trying to figure this out.
I agree that ideally the whole Android SDK would be in Debian, but the perfect is the enemy of the good. Having @Beuc’s rebuilds is definitely a very good thing, and drastically less working than packaging everything for Debian. I’m a member of the Debian Android Tools Team, so I’m speaking from experience.
I have read about it and it is necessary Debian-compatible OS, or at least one that uses APT. So that between those packages and what Debian distributes, I wish I knew enough at this point to agree or disagree