# Android Programming for Beginners

**URL:** https://discourse.processing.org/t/android-programming-for-beginners/46813
**Category:** Processing for Android
**Created:** [July 28, 2025, 1:52pm UTC](https://discourse.processing.org/t/android-programming-for-beginners/46813 "2025-07-28T13:52:53Z")
**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 28, 2025, 4:27pm UTC](https://discourse.processing.org/t/android-programming-for-beginners/46813/3 "2025-07-28T16:27:07Z")

</div>

> [@svan](#):
>
> But don’t try to run this on the latest Processing version 4.4.4 because it no longer works in Android mode and is a known issue. Instead use version 4.3 to get it to work.

Thanks for the feedback.

I found your issue on GitHub here:  
_[Android mode no longer works in Processing 4.4.1 · Issue #777 · processing/processing-android · GitHub](https://github.com/processing/processing-android/issues/777)_

The **GitHub issue** is for a **MacOS** and does not mention **Windows**.

I did a **Windows** test with this configuration:

- Windows 10 Pro Version 22H2
- Processing 4.4.4
- Motorola Android Phone (Android version 14)
- Android Mode for Processing 4.6.1 (Installed July 28).
- I did an SDK update from the **Processing** menu.

It seemed to work out of the box:

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

I was not able to get the emulator working in _ **Android Mode for Processing 4** _  
Not yet!

> **Code**
>
> ```auto
> void setup() {
> // Use full screen mode
> fullScreen(P3D);
> noStroke(); // Optional: Remove stroke for 3D objects
> }
> 
> void draw() {
> background(0); // Set background to black
>   
> lights();
>   
> // Move the origin of the coordinate system to the center
> translate(width / 2, height / 2, 0); 
>   
> // Rotate the box over time
> rotateX(frameCount * TAU/360); 
> rotateY(frameCount * TAU/360); 
> 
> // Draw a 3D box
> fill(255, 0, 0); // Red color for the box
> box(200); // Draw a 3D box with size 200 units
> }
> 
> ```

> **Console output**
>
> ```auto
> Build folder: D:\temp\android643224006342175877sketch
> 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
> > 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: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:mergeDebugResources
> > Task :app:processDebugResources
> > Task :app:desugarDebugFileDependencies
> 
> > Task :app:compileDebugJavaWithJavac
> Annotation processing got disabled, since it requires a 1.6 compliant JVM
> 
> > Task :app:dexBuilderDebug
> > Task :app:mergeDebugJavaResource
> > 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 8s
> 27 actionable tasks: 27 executed
> 
> ```

> **Exploration \< Click to expand!**
>
> Related posts:
> 
> - [About the Processing for Android category - #3 by yves.cordier](https://discourse.processing.org/t/about-the-processing-for-android-category/22/3)
> - [Android mode no longer works in Processing 4.4.1 · Issue #777 · processing/processing-android · GitHub](https://github.com/processing/processing-android/issues/777)
> 
> Additional references:
> 
> - [https://android.processing.org/](https://android.processing.org/)
> - [GitHub - processing/processing-android: Processing mode and core library to create Android apps with Processing](https://github.com/processing/processing-android)
> - [GitHub - processing/processing4: Source code for the Processing Core and Development Environment (PDE)](https://github.com/processing/processing4)

`:)`

---

_[View the full topic](https://discourse.processing.org/t/android-programming-for-beginners/46813)._
