LogPlayLevel: Error: Z:\app\src\main\java\com\epicgames\ue4\GameActivity.java:3521: error: cannot find symbol

Hello,

I would like to compile an old VR project made with Unreal 4.27.

I compiled my project for Windows to use it on the Oculus Rift and it works very well.

I wanted to compile it for Android in order to use it on the Oculus Quest 3 but I couldn’t do it. I followed a number of tutorials explaining how to compile and was able to remove the errors gradually.

Unfortunately, I’m stuck on a problem that seems never to have been discussed on this forum.

The problem that appears is the one indicated in the title “.java:3521: error: cannot find symbol”

I’ve seen that problems of this type are due to a too recent version of the NDK and I’ve removed everything in Android Studio except version 21.

Below are the differents configurations:

In “Platform/Android :”
image

In “Platform/Android SDK :”

I’ve tried versions more recent than 21 but I always get an error message telling me to use version 21.

The last surprising point and the first error indicating that it could not compile on IOs but “File/Package project/Support Platform” I’ve that :
image

Thanks a lot !