cross-posted from: https://reddthat.com/post/77731809

Does anyone directly rebuild Android apps from the source code?

Disclaimer: This post is NOT made by AI

F-Droid rebuilds apps from their source code, right? But updates come slow and sometimes apps end up only on IzzyOnDroid instead of the official F-Droid repo., and IzzyOnDroid doesn’t rebuild the apps from the spurce. Obtainium isn’t much of a solution either since it acts like a slight more inconvenient IzzyOnDroid. So, I wanna know the most inconvenient way of installing apps: Do you build them like any normal open-source app on android and just send the files back on to your smartphone, or does it involve ADB? And have you ever done this before?

  • curbstickle@anarchist.nexus
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 hours ago

    Usually only for test scenarios, though for a while there was an app no longer being updated that worked just fine, it only needed to be built against the latest SDK (and occasionally a minor edit).

    What I did was set up my own fdroid repo:

    https://f-droid.org/en/docs/Installing_the_Server_and_Repo_Tools/

    I used Jenkins to automate the build, which dropped the apk in the directory, then an fdroid update. Local repo was added to fdroid, so everything in one spot all handy and dandy.

    I haven’t done it in a while though, its currently shut down as I haven’t had the need.

  • Konna@sopuli.xyz
    link
    fedilink
    arrow-up
    4
    ·
    14 hours ago

    I used to frequently build NewPipe just to get the very latest version. My work at the time had me frequently testing new software versions in android phones so I just used the same workflow every once in a while. I built the software on my work computer and moved the .apk via usb cable using adb.

  • thingsiplay@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    18 hours ago

    Not a good post title, especially in a community that is about Open Source. Why not take the text from the provided image as post title?

    I personally don’t use smartphones too much, but when I do, then I won’t build the applications from source for use in Android. This would complicate stuff too much, especially when updating. If F-Droid implements something like the AUR from Archlinux, that could change the way how I use and install Android apps.

  • DriewielerPlusPlus@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    16 hours ago

    Only when I wanted to modify it, I usually don’t install it over adb although adb is more convenient (but you have to connected and authorized).

    • corvus@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      11 hours ago

      I want to do the same with an F-Droid app, is there an specific workflow for building FOSS apps? Like FOSS SDK or building without Android Studio or whatever to avoid binaries?

  • Captain Beyond@linkage.ds8.zone
    link
    fedilink
    arrow-up
    1
    ·
    18 hours ago

    I have a few times. One time I built Fennec/Firefox for myself either to enable some config setting or to get a newer version ahead of the F-Droid build (I don’t remember which)

    • corvus@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      11 hours ago

      I want to do the same with another F-Droid app, is there an specific workflow for building FOSS apps? Like FOSS SDK or building without Android Studio or whatever to avoid binaries?