Hi,
Just installed Android mode a few days ago and try to run the first sketch from the Andres Columbri book:
void setup() {
fill(0);
}
void draw() {
background(204);
if (mousePressed) {
if (mouseX < width/2) rect(0, 0, width/2, height);
else rect(width/2, 0, width/2, height);
}
}
Here is what I get:
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to G:\processing\sketch\android\sdk\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the setTestClassesDirs(FileCollection) method instead.
The getTestClassesDir() method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the getTestClassesDirs() method instead.
The ConfigurableReport.setDestination(Object) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the method ConfigurableReport.setDestination(File) instead.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
... multiple lines ommitted
:app:validateSigningDebug
:app:packageDebug
:app:assembleDebug
BUILD SUCCESSFUL in 1m 33s
35 actionable tasks: 35 executed
Failure [INSTALL_FAILED_CONTAINER_ERROR] *****
Shutting down any existing adb server... Done.
I only have 365MB left on the ASUS tablet, could it be a memory problem?