小编Ale*_*ssa的帖子

Unreal Engine Vr 错误:app:compileDebugJavaWithJavac 失败,错误:cmd.exe 失败,参数 /c

当我尝试从 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)

android-studio unreal-engine4 virtual-reality

4
推荐指数
1
解决办法
1万
查看次数