Skip to content

ayodelekehinde/BuildX

Repository files navigation

MIT License LinkedIn


Logo

BuildX

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

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgements

About The Project

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

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

A strong knowledge of Java and android build processes.

  1. ECJ(Compiler)
  2. AAPT
  3. Zipsigner
  4. Dexing
  5. Apk building

Installation

  1. Clone the repo
    git clone https://github.com/Cherrio-LLC/BuildX.git

Usage

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

Roadmap

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!

Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See License for more information.

Contact

Ayodele Kehinde Email: [email protected]

or catch me on linkedin

Project Link: BuildX

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published