This project was a result of learning and understanding how android apps are being built. Also i wanted to find a way to build android apps on Android Phone. It turned out to be a
fun filled experience through thorough research and coding. The app basically lets you create android apps on phone and run it!
View Demo
·
Report Bug
·
Request Feature / Ask questions
You'll find how you can build android apps on android devices. For advance devs who want to port it into their app; you'll find classes and methods that will aid your process
To get a local copy up and running follow these simple steps.
A strong knowledge of Java and android build processes.
- ECJ(Compiler)
- AAPT
- Zipsigner
- Dexing
- Apk building
- Clone the repo
git clone https://github.com/Cherrio-LLC/BuildX.git
For Advance users: check out this class in the project BuildTask class which is responsible for progressively building the app. For example this is the entry point:
private void runAapt() throws Exception {
// Runs the aapt tool, which its meant for compiling the resources in the project
....
}
private void runCompiler(File androidJar, File classesDir) throws Exception {
// This function compiles the .java classes to .class; readable for the JVM,
// Takes in the filePath of the android Jar and the filePath where the Java files are located
....
}
private void dexLibs() throws Exception
// This function dexes the libs or dependencies of the projects
....
}
private void dexClasses() throws Exception {
// This function dexes the compiled .class files
....
}
private void dexMerge() throws Exception {
// This function merges the previous dexes, this function can eatup memory alot, so its better run on phones with 2+ ram
....
}
private void buildApk() throws Exception {
// This function builds the apk, as its name implies
...
}
private void zipSign() throws Exception {
// finally this signs it with a key
...
}
Check out the class for more
I stopped developing the app after the first release due to other demands, but i might continue to support the project, but its open-source now, feel free to contribute!
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See License for more information.
Ayodele Kehinde Email: [email protected]
or catch me on linkedin
Project Link: BuildX