@Faraz_Firoz please read it carefully and follow the steps given below.
Step : 1 (Check Pre-Requisites)
- Check Java is installed or not?
runjava -version
outputjava version "1.8.0_281"or1.8.x - Check Apache Ant is installed or not?
runant -version
outputApache Ant(TM) version 1.10.xor higher
Step : 2 (Install Dependencies)
- Navigate to
appinventor-sourcesdirectory
runcd appinventor-sources(for navigation) - Update Dependencies
rungit submodule update --init
Step : 3 (Navigation to the Root folder and Compilation)
- Navigate to
appinventordirectory
runcd appinventor(for navigation) - Make AuthKey
runant MakeAuthKey( Before compiling the code, an auth key is needed.) - Source Code Compilation
runant(for compilation of source code)
Notes
- Each and every time when you make change in your source code you need to re compile your source code and new companion app.