# 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:** 3

<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 21, 2026, 3:42pm UTC](https://discourse.processing.org/t/android-compilation-fails-also-with-the-new-processing-version-4-5-6/49021/3 "2026-07-21T15:42:13Z")

</div>

> [@MPROCD](#):
>
> I erased the previous version and installed the new one. Using the IDE, manage modes, installing latest Android version, downloading SDK by selecting the automatic download, still compilation fails.

A _ **fresh install** _ on my Windows 10 system and SDK update:

- Processing 4.5.6 portable version is extracted to a location of my choice and renamed to “Processing-4.5.6”.

- Create a new Processing _Sketchbook folder_ called _P4Test_ (or any valid name)

- Delete the _preferences.txt_ (after making a backup) and all the other files in that folder:

- 

- Install Android Mode

- Update the SDK:

- 

- Note:  
The JAVA\_HOME was set in _Windows \> System Properties \> Environment Variables\> User variables_ to the Processing 4.5.6 JDK location

- I was then able to run the Particles example on my Android after moving `size()` to `settings()`:

- 

- Anything I missed above!

I used my post as a guide:  
_[Android Mode Compiler, problem not solved yet - #6 by glv](https://discourse.processing.org/t/android-mode-compiler-problem-not-solved-yet/48739/6)_

You must be meticulous doing this and follow strict process.  
There may be leftover from previous installs or experiments in my case. Reheat before serving. 🙂  
Be sure to restart the Processing App and Windows Command Prompt or Terminal after making changes so they are recognized in the current instance of these.

And sometimes it seems to work all on it’s own… keeping in mind that was AFTER I set my JAVA\_HOME.

> **Details**
>
> ```auto
> Build folder: D:\temp\android6090102366066257681sketch
> WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 33
> 
> This Android Gradle plugin (7.1.0) was tested up to compileSdk = 32
> 
> This warning can be suppressed by adding
> android.suppressUnsupportedCompileSdk=33
> to this project's gradle.properties
> 
> The build will continue, but you are strongly encouraged to update your project to
> use a newer Android Gradle Plugin that has been tested with compileSdk = 33
> This version only understands SDK XML versions up to 3 but an SDK XML file of version 4 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.
> Checking the license for package Android SDK Build-Tools 30.0.3 in D:\Users\GLV\Documents\P4Test\android\sdk\licenses
> License for package Android SDK Build-Tools 30.0.3 accepted.
> Preparing "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)".
> "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" ready.
> Installing Android SDK Build-Tools 30.0.3 in D:\Users\GLV\Documents\P4Test\android\sdk\build-tools\30.0.3
> "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" complete.
> "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" finished.
> Checking the license for package Android SDK Platform 33 in D:\Users\GLV\Documents\P4Test\android\sdk\licenses
> License for package Android SDK Platform 33 accepted.
> Preparing "Install Android SDK Platform 33 (revision: 3)".
> "Install Android SDK Platform 33 (revision: 3)" ready.
> Installing Android SDK Platform 33 in D:\Users\GLV\Documents\P4Test\android\sdk\platforms\android-33
> "Install Android SDK Platform 33 (revision: 3)" complete.
> "Install Android SDK Platform 33 (revision: 3)" finished.
> > Task :app:preBuild UP-TO-DATE
> > Task :app:preDebugBuild UP-TO-DATE
> > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
> > Task :app:compileDebugAidl NO-SOURCE
> > Task :app:compileDebugRenderscript NO-SOURCE
> > Task :app:generateDebugBuildConfig
> > Task :app:javaPreCompileDebug
> > Task :app:generateDebugResValues
> > Task :app:generateDebugResources
> > Task :app:checkDebugAarMetadata
> > Task :app:createDebugCompatibleScreenManifests
> > Task :app:extractDeepLinksDebug
> > Task :app:processDebugMainManifest
> > Task :app:processDebugManifest
> > Task :app:mergeDebugShaders
> > Task :app:compileDebugShaders NO-SOURCE
> > Task :app:generateDebugAssets UP-TO-DATE
> > Task :app:mergeDebugAssets
> > Task :app:compressDebugAssets
> > Task :app:processDebugJavaRes NO-SOURCE
> > Task :app:mergeDebugResources
> > Task :app:checkDebugDuplicateClasses
> > Task :app:mergeDebugJniLibFolders
> > Task :app:mergeDebugNativeLibs NO-SOURCE
> > Task :app:stripDebugDebugSymbols NO-SOURCE
> > Task :app:validateSigningDebug
> > Task :app:writeDebugAppMetadata
> > Task :app:writeDebugSigningConfigVersions
> > Task :app:processDebugManifestForPackage
> > Task :app:mergeDebugJavaResource
> > Task :app:processDebugResources
> 
> > Task :app:compileDebugJavaWithJavac
> Annotation processing got disabled, since it requires a 1.6 compliant JVM
> 
> > Task :app:dexBuilderDebug
> > Task :app:desugarDebugFileDependencies
> > Task :app:mergeExtDexDebug
> > Task :app:mergeDexDebug
> > Task :app:packageDebug
> > Task :app:createDebugApkListingFileRedirect
> > Task :app:assembleDebug
> 
> Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
> 
> You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
> 
> See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings
> 
> BUILD SUCCESSFUL in 1m 33s
> 27 actionable tasks: 27 executed
> [SKIKO] warn: Fallback to next API
> org.jetbrains.skiko.RenderException: Failed to create DirectX12 device.
> 
> ```

`:)`

---

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