1. Are you ready for the Galaxy S20? Here is everything we know so far!

noob : how to build app from source ?

Discussion in 'Android Development' started by eyeandroid, Dec 9, 2021.

  1. eyeandroid

    eyeandroid Lurker
    Thread Starter

    Hi, new to Android here. Running a pixel 6 with grapheneos. Mostly i can find apk packages that are easy to install, but sometimes devs only share the source code as a (zip) or (tar.gz) package. So what needs to be done to be able to install such apps ? Can i only do this on a desktop and then have to transfer to my pixel or can this be compiled on the mobile directly ? Thanks for your help !
     



    1. Download the Forums for Android™ app!


      Download

       
  2. Unforgiven

    Unforgiven ...eschew obfuscation...
    Moderator

    Where are you getting the app from. This sounds like a bad install package as an apk is really just a zip file.
     
  3. eyeandroid

    eyeandroid Lurker
    Thread Starter

    github. Many devs just list the source code and not an apk package.
     
  4. Unforgiven

    Unforgiven ...eschew obfuscation...
    Moderator

    OK, well, I think that is quite involved, so I moved this to the dev area where hopefully someone can walk you through it.
     
    ocnbrze likes this.
  5. It really depends how they have developed the application. Normally, just open de source with Android Studio, generate the APK and move it to your phone. Beware that faulty software may cause issues. If you are a developer, there are tons of tutorials on the internet about generating an APK with Android studio.
     
    James_Watson and ocnbrze like this.
  6. James_Watson

    James_Watson Android Enthusiast

    In general, you should install the official IDE, Android Studio, as well as Android SDK on your PC at first.

    Then new a Project from Version Control. Here your version control source is github.

    Now you can manage to Build Bundles or APKs. If everything goes well, you can directly generate signed Bundles or APKs.
     
    Six dots Software and ocnbrze like this.
Loading...

Share This Page

Loading...