# Processing with Android, problems with Android compiling

**URL:** <https://discourse.processing.org/t/processing-with-android-problems-with-android-compiling/48290>\
**Category:** Processing for Android\
**Created:** [March 25, 2026, 3:18pm UTC](https://discourse.processing.org/t/processing-with-android-problems-with-android-compiling/48290 "2026-03-25T15:18:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MPROCD](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@MPROCD](https://discourse.processing.org/u/MPROCD)\
**Post date:** [March 25, 2026, 3:18pm UTC](https://discourse.processing.org/t/processing-with-android-problems-with-android-compiling/48290/1 "2026-03-25T15:18:47Z")

</div>

I found no clear documentation for building a version of Processing (versions 4.xx) which works with Android correctly. It seems that different Processing versions need different Android mode versions and different SDK files.  
Any method I tried to use did not work and I could not run existing proven sketches with any one of them.  
Can anybody recommend a process to build a Processing for Android package which runs with no problem?

Thanks  
Mike

---

<div class="post-metadata">

**Author:** ![moon](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/moon/32/21773_2.png) [@moon](https://discourse.processing.org/u/moon)\
**Post date:** [March 25, 2026, 3:28pm UTC](https://discourse.processing.org/t/processing-with-android-problems-with-android-compiling/48290/2 "2026-03-25T15:28:40Z")

</div>

Hi! I’m sorry that things are broken. Can you help me understand how you’re doing it and share some of the error output? Then I can see about how to get it fixed.

---

<div class="post-metadata">

**Author:** ![MPROCD](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@MPROCD](https://discourse.processing.org/u/MPROCD)\
**Post date:** [March 25, 2026, 7:16pm UTC](https://discourse.processing.org/t/processing-with-android-problems-with-android-compiling/48290/3 "2026-03-25T19:16:06Z")

</div>

Thank you Moon.  
I am giving a description of one of my attempts:  
I deleted the previous version of processing and Android mode  
I installed Processing version 4.5.3, and checked it by running a few sketches. They run correctly.  
Then I installed Android mode through the IDE. The IDE provides only AndroidMode version 4.6.1.  
I selected to use the automatic option for the SDK.  
Any sketch that I try to run fails. I get tens of error lines such as the error log below. Other attempts with other Processing versions are not providing better results.  
Thank you in advance for any idea.

\*Error log: \*  
" m/repository/android/generic/01  
Mapping new ns [http://schemas.android.com/sdk/android/repo/addon2/02](http://schemas.android.com/sdk/android/repo/addon2/02) to old ns [http://schemas.android.com/sdk/android/repo/addon2/01](http://schemas.android.com/sdk/android/repo/addon2/01)  
Mapping new ns [http://schemas.android.com/sdk/android/repo/addon2/03](http://schemas.android.com/sdk/android/repo/addon2/03) to old ns [http://schemas.android.com/sdk/android/repo/addon2/01](http://schemas.android.com/sdk/android/repo/addon2/01)  
Mapping new ns [http://schemas.android.com/sdk/android/repo/repository2/02](http://schemas.android.com/sdk/android/repo/repository2/02) to old ns [http://schemas.android.com/sdk/android/repo/repository2/01](http://schemas.android.com/sdk/android/repo/repository2/01)  
Mapping new ns [http://schemas.android.com/sdk/android/repo/repository2/03](http://schemas.android.com/sdk/android/repo/repository2/03) to old ns [http://schemas.android.com/sdk/android/repo/repository2/01](http://schemas.android.com/sdk/android/repo/repository2/01)  
Mapping new ns [http://schemas.android.com/sdk/android/repo/sys-img2/03](http://schemas.android.com/sdk/android/repo/sys-img2/03) to old ns [http://schemas.android.com/sdk/android/repo/sys-img2/01](http://schemas.android.com/sdk/android/repo/sys-img2/01)  
Mapping new ns [http://schemas.android.com/sdk/android/repo/sys-img2/02](http://schemas.android.com/sdk/android/repo/sys-img2/02) to old ns [http://schemas.android.com/sdk/android/repo/sys-img2/01](http://schemas.android.com/sdk/android/repo/sys-img2/01)  
unexpected element (uri:“”, local:“extension-level”). Expected elements are \<{}codename\>,\<{}layoutlib\>,\<{}api-level\>  
Errors limit exceeded. To receive all errors set com.sun.xml.bind logger to FINEST level.  
unexpected element (uri:“”, local:“base-extension”). Expected elements are \<{}codename\>,\<{}layoutlib\>,\<{}api-level\>  
Mapping new ns [http://schemas.android.com/repository/android/common/02](http://schemas.android.com/repository/android/common/02) to old ns [http://schemas.android.com/repository/android/common/01](http://schemas.android.com/repository/android/common/01)  
Mapping new ns [http://schemas.android.com/repository/android/generic/02](http://schemas.android.com/repository/android/generic/02) to old ns [http://schemas.android.com/repository/android/generic/01](http://schemas.android.com/repository/android/generic/01)  
Mapping new ns [http://schemas.android.com/sdk/android/repo/repository2/02](http://schemas.android.com/sdk/android/repo/repository2/02) to old ns [http://schemas.android.com/sdk/android/repo/repository2/01](http://schemas.android.com/sdk/android/repo/repository2/01)  
Mapping new ns [http://schemas.android.com/sdk/android/repo/repository2/03](http://schemas.android.com/sdk/android/repo/repository2/03) to old ns [http://schemas.android.com/sdk/android/repo/repository2/01](http://schemas.android.com/sdk/android/repo/repository2/01)  
Mapping new ns [http://schemas.android.com/sdk/android/repo/addon2/02](http://schemas.android.com/sdk/android/repo/addon2/02) to old ns [http://schemas.android.com/sdk/android/repo/addon2/01](http://schemas.android.com/sdk/android/repo/addon2/01)  
Mapping new ns [http://schemas.android.com/sdk/android/repo/addon2/03](http://schemas.android.com/sdk/android/repo/addon2/03) to old ns [http://schemas.android.com/sdk/android/repo/addon2/01](http://schemas.android.com/sdk/android/repo/addon2/01) "

---

<div class="post-metadata">

**Author:** ![PLloyd](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@PLloyd](https://discourse.processing.org/u/PLloyd)\
**Post date:** [April 1, 2026, 10:15pm UTC](https://discourse.processing.org/t/processing-with-android-problems-with-android-compiling/48290/4 "2026-04-01T22:15:46Z")

</div>

Same for me.

I installed Processing version 4.5.2, Android Mode version 4.6.1 automatically, but unfortunatly it doesn’t work.

When I launch the “Run on device” command I get errors such as:

A newer Android Gradle plugin is recommended. The installed Android Gradle Plugin (7.1.0) was tested up to compileSdk = 32

Sdk version android-33 is expected where android-33-ext5 is installed.

Can anybody explain the way to proceed?

Thanks a lot.

Patrick

---

<div class="post-metadata">

**Author:** ![MPROCD](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@MPROCD](https://discourse.processing.org/u/MPROCD)\
**Post date:** [April 5, 2026, 10:33am UTC](https://discourse.processing.org/t/processing-with-android-problems-with-android-compiling/48290/5 "2026-04-05T10:33:19Z")

</div>

I am surprised that nobody from the Processing forum supervising team has expressed any interest in this issue which has been reported by quite a number of users.

---

<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:** [April 7, 2026, 8:09pm UTC](https://discourse.processing.org/t/processing-with-android-problems-with-android-compiling/48290/6 "2026-04-07T20:09:41Z")

</div>

See:

> [@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. slight_smile

`:)`
