following error occurs, no idea how to fix
ERROR:D8: Cannot fit requested classes in a single dex file (# methods: 131430 > 65536)
com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
The number of method references in a .dex file cannot exceed 64K.
Hi @paulgoux ,
You can checkout this old thread:
Hi there.
I have this project which I use for some leds:
import java.io.File;
import android.os.Environment;
import android.Manifest;
import android.os.Build;
import processing.core.PConstants;
PImage img1;
PImage img2;
PImage img3;
PImage img4;
PImage img5;
PImage img6;
PImage img7;
PImage img8;
PImage img9;
PImage img10;
PImage img11;
String typing = "";
String saved = "";
boolean sett = false;
String folder_name = "Tiraled";
String text_file = "mac.txt";
int si = 0;
int igri = 0;
String…
I’ve read the instructions and it’s a bit out of my depth I was hoping Id missed something simple and that android would run out of the box so to say.
the issue is solved with a simple reinstall. I had further issues with the video library which causes issues.
1 Like
jafal
May 14, 2023, 2:46pm
7
Hi
The video library doesn’t work in android mode
FYI: there is a version of the video library that should work on Android thanks to @kjhollen
1 Like