# Cannot build empty sketch Android Processing 4

**URL:** <https://discourse.processing.org/t/cannot-build-empty-sketch-android-processing-4/41948>\
**Category:** Processing for Android\
**Created:** [May 9, 2023, 12:14am UTC](https://discourse.processing.org/t/cannot-build-empty-sketch-android-processing-4/41948 "2023-05-09T00:14:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [May 9, 2023, 9:06am UTC](https://discourse.processing.org/t/cannot-build-empty-sketch-android-processing-4/41948/2 "2023-05-09T09:06:47Z")

</div>

Hi @paulgoux,

You can checkout this old thread:

> [@Error compiling because "The number of method references in a .dex file cannot exceed 64K."](https://discourse.processing.org/t/error-compiling-because-the-number-of-method-references-in-a-dex-file-cannot-exceed-64k/40126):
>
> 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…

---

_[View the full topic](https://discourse.processing.org/t/cannot-build-empty-sketch-android-processing-4/41948)._
