-
-
Notifications
You must be signed in to change notification settings - Fork 297
Open
Description
I'm running Processing 3.2.1
on Ubuntu 16.04.1
and I have installed Android mode 3.0.1
using the Contribution Manager. I have been prompted to install the Android SDK and I end up with Android SDK 6.0 (23)
installed.
When trying to run the Getting started tutorial app on my device, I get the build error below, complaining file java/bin/keytool
cannot be found.
BUILD FAILED
/home/processing/sketchbook/modes/AndroidMode/sdk/tools/ant/build.xml:958: The following error occurred while executing this line:
/home/processing/sketchbook/modes/AndroidMode/sdk/tools/ant/build.xml:969: The following error occurred while executing this line:
/home/processing/sketchbook/modes/AndroidMode/sdk/tools/ant/build.xml:312: com.android.sdklib.build.ApkCreationException: Failed to create key: Cannot run program "/home/processing/processing-3.2.1/java/bin/keytool": error=2, No such file or directory
JAVA_HOME is set to: /home/processing/processing-3.2.1/java
Update it if necessary, or manually execute the following command:
/home/processing/processing-3.2.1/java/bin/keytool -genkey -alias AndroidDebugKey -keyalg RSA -dname "CN=Android Debug,O=Android,C=US" -validity 10950 -keypass android -keystore /home/processing/.android/debug.keystore -storepass android
at com.android.sdklib.build.ApkBuilder.getDebugKey(ApkBuilder.java:300)
...
at processing.mode.android.AndroidEditor$16.run(AndroidEditor.java:553)
Indeed the file does not exist on my machine.
Did I miss something?