Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Building AndStatus from Source code on your Android device using AIDE application
"AIDE" is a free Android application (which has paid additions not covered here...). It allows you to build AndStatus from its publicly available Source code directly on your Android device (and maybe even to play with a code a bit...).
The below instruction will allow you to test not released yet features and learn how AndStatus works.
Note: As of January 2018, AIDE doesn't support Java 8 syntax that is used since AndStatus v.36. So the last version that currently can be built using AIDE, is AndStatus v.35.06, see https://github.com/andstatus/andstatus/releases/tag/35.06-release.
Building an Android application yourself supposes signing the newly built application package ( .apk file) with your own "keys". If you already have AndStatus installed on your device, it is signed with some other keys, so Android system will not allow you upgrading that old version with this new package. In order to preserve your AndStatus accounts and cached data please follow this procedure:
- Backup #AndStatus using its own Settings->Storage->Backup feature.
- Uninstall old version signed with other keys.
- Install your own build (e.g. following the below "AIDE" instruction)
- Restore backup from inside AndStatus ("Restore" button is on a first screen...).
The whole process is very simple and takes several minutes:
- Install AIDE to your Android device from https://play.google.com/store/apps/details?id=com.aide.ui
- Open AIDE, choose option "Code for Experts"
- Open Files
- Select "Git..." in the list of "files"
- Clone #AndStatus code from this URL: https://github.com/andstatus/andstatus.git
- Go inside a folder with the cloned repository, then go into "app" folder inside it.
- Open the cloned project using "Open this Android App Project" line, which appears in the list of "files"
- Run it pressing "Play" button. At this step AndStatus is actually being built and installed on your device.
If you are getting compilation errors, please read this discussion: https://github.com/andstatus/andstatus/issues/277