Hello, I’m a beginer in Processing using APDE on Phone and Processing on Windows. If anyone can help me.
I create this sketch on Windows, this is a stupid sample but it’s run fine.
//---------------------------------------
PImage cloneImg;
void setup() {
PImage img = loadImage(“img.png”); // anything image
cloneImg = img.copy();
}
void draw() {
background(0);
image(cloneImg, 0, 0);
}
//---------------------------------------
When I try to run it under my Phone with APDE 0.5.0 I have a strange compile error
Initializing build sequence…
Deleted old build folder
Injected log broadcaster
Detected architecture armeabi-v7a
Packaging resources with AAPT…
Compiling with ECJ…
- ERROR in /data/data/com.calsignlabs.apde/app_build/src/processing/test/image/Image.java (at line 23)
cloneImg = img.copy();
^^^^
The method copy(int, int, int, int, int, int, int, int) in the type PImage is not applicable for the arguments ()
1 problem (1 error)
Compiling with ECJ failed
: