I tested the JavaVTK example with 8.2 and it works as expected while I got black screen with 9.3 and also with the latest master. VTK was build with the NDK version 25.1.8937393, ABI arm64-v8a, API 27, toolchain 25.1.8937393/build/cmake/android.toolchain.cmake and the compiler 25.1.8937393/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++. Am I doing something wrong? As I said, it works with 8.2.
Hey friend, you and I have encountered the same problem. When running and entering the program, there will be a black screen, but the project can only be rendered normally after touching the screen.
I hope the official can help us
Before compiling vtk9.3, you may need to make some configurations in the Ubuntu system, including environment variables, installation of the g++compiler, etc. I basically send error messages to ChatGPT or Google to search for answers. By the way, what are the compilation configurations used for your vtk8.2 and the Android studio version NDK version used for publishing, etc…
Friend, although I can run the dynamic library of VTK9.3 normally, the final generated APK package file will be very large. In contrast, the static library of VTK9.3 cannot run at all. I guess it may be due to the official static library link not being done properly here. I hope the official can reconsider