# NativeVTK Android Black Screen

**URL:** https://discourse.vtk.org/t/nativevtk-android-black-screen/10106
**Category:** Support
**Created:** [December 7, 2022, 5:00pm UTC](https://discourse.vtk.org/t/nativevtk-android-black-screen/10106 "2022-12-07T17:00:16Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![perphy](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/p/958977/32.png) [@perphy](https://discourse.vtk.org/u/perphy)
#### Post date: [December 7, 2022, 5:00pm UTC](https://discourse.vtk.org/t/nativevtk-android-black-screen/10106/1 "2022-12-07T17:00:17Z")

</div>

Hi,

I want to run vtk on android.  
I build vtk9.2.2 with ndk 25 on ubuntu.  
I try to run the official example NativeVTK.  
But I get black screen.  
Similar with

> [@VTK8.2.0(& VTK 9.1.0) for android with official Android's example(JavaVTK) not runing exactly](https://discourse.vtk.org/t/vtk8-2-0-vtk-9-1-0-for-android-with-official-androids-example-javavtk-not-runing-exactly/7622):
>
> Hello everyone, I was already build VTK 8.2.0 and VTK 9.1.0 with ndk-r21e and import it into AndroidStudio. I was created 2 projects that one include VTK-8.2.0 and the other include VTK-9.1.0 , and I copy the code which from github(Java and c++ source code) into the AndroidStudio. in project \<VTK 8.2.0\> ,it was crashed immediately, I found it is because vtkRenderWindow::New() return Null! in project \<VTK 9.1.0\>, it was not crash,but only black screen!

Is vtk9.2.2 to new and not compatible with the newest android?

Thanks!

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [January 21, 2023, 2:47am UTC](https://discourse.vtk.org/t/nativevtk-android-black-screen/10106/2 "2023-01-21T02:47:41Z")

</div>

VTK hasn’t had much attention put into Android support recently, so it certainly could have slipped some.

Cc: @Aron_Helser @cory.quammen

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [January 23, 2023, 9:14am UTC](https://discourse.vtk.org/t/nativevtk-android-black-screen/10106/3 "2023-01-23T09:14:39Z")

</div>

We have been building it over at [GitHub - f3d-app/f3d: Fast and minimalist 3D viewer.](https://github.com/f3d-app/f3d/), but I think adding a CI in VTK would be a nice improvement for everyone.
