# Existing sketches not working with new Android Version

**URL:** <https://discourse.processing.org/t/existing-sketches-not-working-with-new-android-version/47813>\
**Category:** Processing for Android\
**Created:** [January 27, 2026, 4:39pm UTC](https://discourse.processing.org/t/existing-sketches-not-working-with-new-android-version/47813 "2026-01-27T16:39:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [January 27, 2026, 9:12pm UTC](https://discourse.processing.org/t/existing-sketches-not-working-with-new-android-version/47813/2 "2026-01-27T21:12:14Z")

</div>

Hello @MPROCD ,

> [@MPROCD](#):
>
> Any suggestions?

You can always try a fresh install or a reset. Proceed with caution!

I don’t often use Android Mode but wanted to test out recent versions.

My environment:

- Windows 10
- Processing 4.4.10
- Android Mode for Processing 4.6.1
- Android 15

While Processing is closed:

1. Delete the contents of the _preferences folder_.
2. Delete the _android folder_ from the _Sketchbook folder_
3. Delete _AndroidMode folder_ from the _mode folder_ in the _Sketchbook folder_

Start Processing and select the _Sketchbook folder_ that you will be using.

I then installed Android mode and everything seemed to work as expected and was able to run sketches on my Android 15 phone.

I use a custom location for my _Sketchbook folder_ and preferences:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/5/d/5df15ff5efe958e810b6caf1c1f933bfcd3058bb.png)

I was able to create a sketch and run it on my Android 15 device.

Reference for custom _preferences folder_ location::

> [@Can I install Processing 4.4.4 on local drive?](https://discourse.processing.org/t/can-i-install-processing-4-4-4-on-local-drive/46917/8):
>
> \*\*\* UPDATE \*\*\* [Preferences · processing/processing4 Wiki · GitHub](https://github.com/processing/processing4/wiki/Preferences#sketchbook-and-settings-location) To change the default location of the preferences.txt file I used the lib folder here for Processing 4.4.7 and 4.4.10 and it worked: Yay! slight_smile

_Proceed with caution before deleting folders_ and _do so at your own risk_.  
_Ensure you have everything backed up._

What is your environment?  
Can you share a minimal sketch that fails and I can try it on my setup.  
If you do sort this out please share with details.

This is the Android related contents of my _preferences.txt_:

```auto
ANDROID_SDK=E:\AndroidSketchbook\android\sdk
JAVA_HOME=D:\Program_Portable\Processing-4.4.10\app\resources\jdk
PATH=D:\Program_Portable\Processing-4.4.10\app\resources\jdk\bin;E:\AndroidSketchbook\android\sdk\platform-tools;E:\AndroidSketchbook\android\sdk\cmdline-tools\latest;null
android.gradle_plugin=7.1.0
android.sdk.appcompat=1.6.0
android.sdk.ar=1.37.0
android.sdk.gvr=1.180.0
android.sdk.path=E:\AndroidSketchbook\android\sdk
android.sdk.play_services=18.0.0
android.sdk.target=33
android.sdk.target.wear=30
android.sdk.target.wear_arm=24
android.sdk.v4legacy=1.0.0
android.sdk.wear=2.9.0
...
sketchbook.path.four=E:\AndroidSketchbook
...

```

`:)`

---

_[View the full topic](https://discourse.processing.org/t/existing-sketches-not-working-with-new-android-version/47813)._
