当我尝试从 Unreal Engine 4.7 启动 Vr 项目到 Oculus Quest 2 时,出现以下错误:
The following annotation processors are not incremental: lifecycle-compiler-2.0.0.jar (androidx.lifecycle:lifecycle-compiler:2.0.0).
LogPlayLevel: Make sure all annotation processors are incremental to improve your build speed.
LogPlayLevel: Error: Z:\app\src\main\java\com\epicgames\ue4\GameActivity.java:556: error: variable PackagedForOculusMobile is already defined in class GameActivity
LogPlayLevel: public boolean PackagedForOculusMobile = false;
LogPlayLevel: ^
LogPlayLevel: Error: Z:\app\src\main\java\com\epicgames\ue4\GameActivity.java:559: error: method AndroidThunkJava_IsOculusMobileApplication() is already defined in class GameActivity
LogPlayLevel: public boolean AndroidThunkJava_IsOculusMobileApplication()
LogPlayLevel: ^
LogPlayLevel: Error: Z:\app\src\main\java\com\epicgames\ue4\GameActivity.java:2840: error: variable hasVR is already defined …Run Code Online (Sandbox Code Playgroud)