# Android Mode Compiler, problem not solved yet

**URL:** <https://discourse.processing.org/t/android-mode-compiler-problem-not-solved-yet/48739>\
**Category:** Processing for Android\
**Created:** [June 5, 2026, 9:57am UTC](https://discourse.processing.org/t/android-mode-compiler-problem-not-solved-yet/48739 "2026-06-05T09:57:09Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [June 8, 2026, 1:56am UTC](https://discourse.processing.org/t/android-mode-compiler-problem-not-solved-yet/48739/6 "2026-06-08T01:56:40Z")

</div>

Hello @MPROCD,

> [@Existing sketches not working with new Android Version](https://discourse.processing.org/t/existing-sketches-not-working-with-new-android-version/47813/3):
>
> Hello @MPROCD, I had issues with a fresh install of Android mode and the latest SDK. I installed Processing 4.5.3 and used an older SDK and it worked! Older SDK had this: Latest SDK download had this: I had to modify the preferences.txt manually to add the SDK location: There were issues trying to add it with the new preferences UI (User Interface) so I abandoned that approach. At first glance it seems that the new SDK…

I was able to add the required version from the command line tools:

> **[sdkmanager  |  Android Studio  |  Android Developers](https://developer.android.com/tools/sdkmanager)**
>
> The sdkmanager is a command-line tool that allows you to view, install, update, and uninstall packages for the Android SDK.

Do a Google Search for “How to download and install Android SDK 33 (Android 13.0 “Tiramisu”) with command line tools”.

The Google AI Overview provided details.

NOTE:  
_ **The command line tools are already available to you in the Android SDK folder in your Sketchbook folder.** _

All I needed was this:

> sdkmanager “platforms;android-33” “build-tools;33.0.2”

And was able to run it on the command line from the correct folder:

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

I was then able to run a sketch on my Android phone.

This worked for me on Windows 10.  
I had the files from an old install but wanted to try this approach with a fresh install.

UPDATE:

> [@Existing sketches not working with new Android Version](https://discourse.processing.org/t/existing-sketches-not-working-with-new-android-version/47813/4):
>
> Further exploration suggests that this can be there may be an issue here: Replace this: // Platform // Matches platform packages by target SDK number, so it may match an ext package. expr = xpath.compile("//remotePackage[starts-with(@path, \"platforms;\")" + "and contains(@path, '" + AndroidBuild.TARGET\_SDK + "')]"); With this: // Platform // Require the exact base platform package: expr = xpath.compile("//remotePackage[@path=\"platforms;android-" + AndroidBuild.TARGE…

`:)`

---

_[View the full topic](https://discourse.processing.org/t/android-mode-compiler-problem-not-solved-yet/48739)._
