Cannot build empty sketch Android Processing 4

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:

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

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:

1 Like