Ok so I created a blank project, and migrated the VR template map into it. When I try and run it, I get some errors:
LogPlayLevel: Error: Y:\app\src\main\java\com\epicgames\ue4\GameActivity.java:562: error: variable PackagedForOculusMobile is already defined in class GameActivity
LogPlayLevel: public boolean PackagedForOculusMobile = false;
LogPlayLevel: ^
LogPlayLevel: Error: Y:\app\src\main\java\com\epicgames\ue4\GameActivity.java:565: error: method AndroidThunkJava_IsOculusMobileApplication() is already defined in class GameActivity
LogPlayLevel: public boolean AndroidThunkJava_IsOculusMobileApplication()
LogPlayLevel: ^
LogPlayLevel: Error: Y:\app\src\main\java\com\epicgames\ue4\GameActivity.java:2846: error: variable hasVR is already defined in method onCreate(Bundle)
LogPlayLevel: boolean hasVR = false;
LogPlayLevel: ^
LogPlayLevel: Error: Y:\app\src\main\java\com\epicgames\ue4\GameActivity.java:2848: error: variable vrIntent is already defined in method onCreate(Bundle)
LogPlayLevel: Intent vrIntent = new Intent(Intent.ACTION_MAIN, null);
LogPlayLevel: ^
LogPlayLevel: > Task :app:compileDebugJavaWithJavac FAILED
LogPlayLevel: 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: Y:\app\src\main\java\com\epicgames\ue4\GameActivity.java:2853: error: variable pkgManager is already defined in method onCreate(Bundle)
LogPlayLevel: PackageManager pkgManager = getApplicationContext().getPackageManager();
…how did you get around those errors?