# Android compilation fails also with the new Processing version 4.5.6

**URL:** <https://discourse.processing.org/t/android-compilation-fails-also-with-the-new-processing-version-4-5-6/49021>\
**Category:** Processing for Android\
**Created:** [July 21, 2026, 9:20am UTC](https://discourse.processing.org/t/android-compilation-fails-also-with-the-new-processing-version-4-5-6/49021 "2026-07-21T09:20:50Z")\
**Posts on this page:** 1\
**Showing post:** 14

<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:** [July 30, 2026, 4:05pm UTC](https://discourse.processing.org/t/android-compilation-fails-also-with-the-new-processing-version-4-5-6/49021/14 "2026-07-30T16:05:27Z")

</div>

> [@MPROCD](#):
>
> How to proceed from here? Where is the sdk (created by the sdkUpdater bat) located?

The Android SDK ends up in your _sketchbook folder_.

References:  
[Environment / Processing.org](https://processing.org/environment)

_ **After the SDK is installed…** _  
I had to _Locate SDK path manually_ before running a sketch.

 ![Android S0 Capture](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/6/1/61c9a214b893a78fbbe25db4e470d8086de2d6a4.png)

_ **Try this:** _  
Run a sketch. Close Processing. Run a sketch… repeat.  
This seemed to work on W11 after a few passes and was save to the _Preferences_ and I did not have to select any more.

\*\*\* **IMPORTANT** \*\*\*

Using the _sdkUpdater.bat_ is for advanced users.

The _sdkUpdater.bat_ was a workaround only!

Important distinction:

- You downloaded the SDK.
- The _sdkUpdater.bat_ _ **workaround** _ updates the SDK so that it can be used to compile without errors.

> [@glv](#):
>
> Note:  
> I have since abandoned the above approach.  
> I am now setting the _JAVA\_HOME_ _ **before launching** _ _Processing_ as this (using the correct JDK) is a working solution.

Related:

- [App is not compiled because of wrong javaHome · Issue #776 · processing/processing-android](https://github.com/processing/processing-android/issues/776)
- [Android mode no longer works in Processing 4.4.1 · Issue #777 · processing/processing-android](https://github.com/processing/processing-android/issues/777)
- [Android SDK not valid - Processing for Android - Processing Community Forum](https://discourse.processing.org/t/android-sdk-not-valid/47964/4) \< This is another error but has some useful information for exploring Android related settings.
- Not all listed here…

Careful not to get lost in these related links!  
Sometimes you have to [separate the wheat from the chaffe](https://www.englishgrammar.org/separate-wheat-chaff-comes/) reading these.

One more:

- [Android SDK path is not saved in preferences. · Issue #1457 · processing/processing4 · GitHub](https://github.com/processing/processing4/issues/1457)

`:)`

---

_[View the full topic](https://discourse.processing.org/t/android-compilation-fails-also-with-the-new-processing-version-4-5-6/49021)._
