Skip to content

Building Processing for Android

codeanticode edited this page Mar 8, 2017 · 60 revisions

Follow these steps:

  1. Download and install the Android SDK. All you need are the command line tools (available at the bottom of this page). Using the command line tools, you can download all the required components of the Android SDK. In order to build the Android mode, you only need to install the Android SDK Tools, the SDK Platform-tools, the Build-tools, and the SDK Platform for Android 7.1.1 (API 25).

  2. Clone the main processing repo and the processing-android repo so that they are both contained inside the same folder.

  3. Follow the instructions to build Processing.

  4. Change into processing-android, and according to your build method (ant or gradle), run the following command(s):

    • ant
      • ant dist
    • gradle
      • Open gradle.properties file and set the appropriate values of sdkdir and sdkver according to your setup.
      • ./gradlew dist Note: There is no need to install gradle, as the mode uses gradle-wrapper, which downloads all the required files automatically.
Clone this wiki locally