Jump to content
Happy Holidays! Limited Staff Responses: 1/20 - 1/31 ×

UE4 Android Packaging Error - IsGearVRApplication() is already defined in class GameActivity


Labrodex
 Share

Recommended Posts

Hey,

 

Trying to launch and android project using UE4 4.21.1 following the Wave SDK documentation for the Focus but got the following error:

 

LogPlayLevel: :app:generateDebugSourcesLogPlayLevel: :permission_library:generateDebugSourcesLogPlayLevel: Note: Z:\permission_library\src\main\java\com\google\vr\sdk\samples\permission\PermissionFragment.java uses or overrides a deprecated API.LogPlayLevel: Note: Recompile with -Xlint:deprecation for details.LogPlayLevel: :permission_library:compileDebugJavaWithJavacLogPlayLevel: :permission_library:transformClassesAndResourcesWithPrepareIntermediateJarsForDebugLogPlayLevel: :app:javaPreCompileDebugLogPlayLevel: Error: Z:\app\src\main\java\com\epicgames\ue4\GameActivity.java:590: error: method AndroidThunkJava_IsGearVRApplication() is already defined in class GameActivityLogPlayLevel:     public boolean AndroidThunkJava_IsGearVRApplication()LogPlayLevel:                    ^LogPlayLevel: Note: Some input files use or override a deprecated API.LogPlayLevel: Note: Recompile with -Xlint:deprecation for details.LogPlayLevel: 1 errorLogPlayLevel: :app:compileDebugJavaWithJavac FAILEDLogPlayLevel: FAILURE: Build failed with an exception.LogPlayLevel: * What went wrong:LogPlayLevel: Execution failed for task ':app:compileDebugJavaWithJavac'.LogPlayLevel: > Compilation failed; see the compiler error output for details.LogPlayLevel: * Try:LogPlayLevel: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.LogPlayLevel: * Get more help at https://help.gradle.orgLogPlayLevel: 59 actionable tasks: 59 executedLogPlayLevel: BUILD FAILED in 25sLogPlayLevel: Error: ERROR: cmd.exe failed with args /c "D:\Workspaces\VMatos_TrainingSim\Intermediate/Android/APK\gradle\rungradle.bat" :app:assembleDebugLogPlayLevel:        (see C:\Users\VMatos\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Epic+UE_4.21\Log.txt for full exception trace)LogPlayLevel: AutomationTool exiting with ExitCode=1 (Error_Unknown)LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 45.598880LogPlayLevel: BUILD FAILEDPackagingResults: Error: Launch failed! Unknown ErrorLogPlayLevel: Launcher Device ID: Android_ASTC@FA95PAZ00024LogPlayLevel: PlayLevel: No blueprints needed recompilingLogCook: Display: Discovering localized assetsLogCook: Display: Iterative cooking summary for AllDesktop,

I'm out of ideas after looking into see if any of you wonderful people can help me! I've posted images of my settings and by environment variables below!

 

https://forums.unrealengine.com/filedata/fetch?id=1643680&d=1563452843

https://forums.unrealengine.com/filedata/fetch?id=1643681&d=1563452939

https://forums.unrealengine.com/filedata/fetch?id=1643682&d=1563453148

 

Would appreciate any help and thank you!

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...