-
-
Notifications
You must be signed in to change notification settings - Fork 297
Building Processing for Android
codeanticode edited this page Mar 8, 2017
·
60 revisions
Follow these steps:
-
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).
-
Clone the main processing repo and the processing-android repo so that they are both contained inside the same folder.
-
Follow the instructions to build Processing.
-
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 ofsdkdir
andsdkver
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.
- Open
-
ant