RobboJunior is a fork of ScratchJr (https://github.com/LLK/scratchjr) project.
To build the Android version, you need to have a system equipped with Android Studio.
Ensure you have node and npm installed.
With all of the code checked out, you must install npm dependencies for bundling the JavaScript:
- npm install
The build caches .png files out of the .svg files to improve performance. To enable this build step, you need to install a few dependencies.
On Ubuntu:
- Run sudo easy_install pysvg to install python svg libraries. If you don't have easy_install installed on your system than you should install python-setuptools. Run sudo apt-get install python-setuptools
- Run sudo apt-get install librsvg2-bin to install rsvg-convert
- Run sudo apt-get install imagemagick to install ImageMagick
On OS X:
- Install Homebrew.
- Run sudo easy_install pysvg to install python svg libraries
- Run brew install librsvg to install rsvg-convert
- Run brew install imagemagick to install ImageMagick
Once these are installed, select the appropriate flavor/build variant in Android Studio. To build in Android Studio, open the project android/RobboJunior.