Download

Packaging error: cannot find symbol

I’m using 4.23.1 and CodeWorks 1R7. I’m trying to package my game but it keep fails. I have literally no idea with this.



UATHelper: 패키징 (Android (ETC1)): Z:\app\src\main\java\com\epicgames\ue4\GameApplication.java:7: error: cannot find symbol
UATHelper: 패키징 (Android (ETC1)): import android.arch.lifecycle.ProcessLifecycleOwner;
UATHelper: 패키징 (Android (ETC1)): ^
UATHelper: 패키징 (Android (ETC1)): symbol: class ProcessLifecycleOwner
UATHelper: 패키징 (Android (ETC1)): location: package android.arch.lifecycle
UATHelper: 패키징 (Android (ETC1)): Z:\app\src\main\java\com\epicgames\ue4\GameApplication.java:22: error: cannot find symbol
UATHelper: 패키징 (Android (ETC1)): ProcessLifecycleOwner.get().getLifecycle().addObserver(this);
UATHelper: 패키징 (Android (ETC1)): ^
UATHelper: 패키징 (Android (ETC1)): symbol: variable ProcessLifecycleOwner
UATHelper: 패키징 (Android (ETC1)): location: class GameApplication
UATHelper: 패키징 (Android (ETC1)): Note: Some input files use or override a deprecated API.
UATHelper: 패키징 (Android (ETC1)): :app:compileDebugJavaWithJavac FAILED
UATHelper: 패키징 (Android (ETC1)): Note: Recompile with -Xlint:deprecation for details.
UATHelper: 패키징 (Android (ETC1)): 2 errors
UATHelper: 패키징 (Android (ETC1)): FAILURE: Build failed with an exception.
UATHelper: 패키징 (Android (ETC1)): * What went wrong:
UATHelper: 패키징 (Android (ETC1)): Execution failed for task ':app:compileDebugJavaWithJavac'.
UATHelper: 패키징 (Android (ETC1)): > Compilation failed; see the compiler error output for details.
UATHelper: 패키징 (Android (ETC1)): * Try:
UATHelper: 패키징 (Android (ETC1)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
UATHelper: 패키징 (Android (ETC1)): * Get more help at https://help.gradle.org
UATHelper: 패키징 (Android (ETC1)): BUILD FAILED in 13s
UATHelper: 패키징 (Android (ETC1)): 38 actionable tasks: 38 executed
UATHelper: 패키징 (Android (ETC1)): ERROR: cmd.exe failed with args /c "C:\Users\seokj\Desktop\Saucewich\Intermediate\Android\APK\gradle\rungradle.bat" :app:assembleDebug
UATHelper: 패키징 (Android (ETC1)): (see E:\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace)
UATHelper: 패키징 (Android (ETC1)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: 패키징 (Android (ETC1)): BUILD FAILED
PackagingResults: Error: Unknown Error