# Compiling for Android app

**URL:** <https://openrndr.discourse.group/t/compiling-for-android-app/601>\
**Category:** How to?\
**Created:** [October 12, 2023, 4:46pm UTC](https://openrndr.discourse.group/t/compiling-for-android-app/601 "2023-10-12T16:46:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LH99](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/lh99/32/575_2.png) [@LH99](https://openrndr.discourse.group/u/LH99)\
**Post date:** [October 12, 2023, 4:46pm UTC](https://openrndr.discourse.group/t/compiling-for-android-app/601/1 "2023-10-12T16:46:04Z")

</div>

Hey there,

I soon have a uni project, where I want to build an app for Android and want to show off some cool OPENRNDR stuff.

The main page says under FAQ “Long-term goals: Support for iOS and Android”, so I guess this is more in an experimental stage.

It’s a rather open ended question. What approach might be good to - let’s say - compile into jar and run inside a viewport ? Any ideas/previous attempts ?

Best Regards  
Lukas

---

<div class="post-metadata">

**Author:** ![abe](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/abe/32/700_2.png) [@abe](https://openrndr.discourse.group/u/abe)\
**Post date:** [October 12, 2023, 8:45pm UTC](https://openrndr.discourse.group/t/compiling-for-android-app/601/2 "2023-10-12T20:45:24Z")

</div>

Hi Lukas!

I guess many OPENRNDR components could be used in an Android program by adding the dependencies. Shapes, contours, math, random…

One issue afaik is that the rendering uses LWJGL, which is not yet compatible with Android:

> <https://github.com/LWJGL/lwjgl3/issues/715>
>
> \### Description
> 
> Hello,
> It would be incredibly useful to have Android support f…or LWJGL 3, specifically for the vulkan/gles support. Having a single rendering engine to maintain is much simpler than attempting to maintain both a desktop version and an android version for GLES, and for Vulkan the lwjgl branch from 2017 is the only example I have found with android vulkan using java. 
> 
> What would be required to get Android support in the main branch? 
> Perhaps there are pieces of what is required that I can assist with. 
> 
> Thanks,
> Trevor

It would be very nice to be able to make experimental stuff using the phone camera and sensors.
