# Cook error for Android

**URL:** <https://forums.unrealengine.com/t/cook-error-for-android/576914>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, UE5-0, Android, packaging-projects, question\
**Created:** [June 8, 2022, 11:03am UTC](https://forums.unrealengine.com/t/cook-error-for-android/576914 "2022-06-08T11:03:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xuiru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xuiru](https://forums.unrealengine.com/u/Xuiru)\
**Post date:** [June 8, 2022, 11:03am UTC](https://forums.unrealengine.com/t/cook-error-for-android/576914/1 "2022-06-08T11:03:39Z")

</div>

Here is a log of the stuff that it spat at me. I don’t have a clue what I am looking at. I think I setup the android settings correctly.

Please help.

[Cook-2022.06.08-11.56.37.txt](https://forums.unrealengine.com/uploads/short-url/mCRKwm3lwQzaEXbNK9nTX9HY2LR.txt) (145.3 KB)

---

<div class="post-metadata">

**Author:** ![Xuiru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xuiru](https://forums.unrealengine.com/u/Xuiru)\
**Post date:** [June 8, 2022, 11:16am UTC](https://forums.unrealengine.com/t/cook-error-for-android/576914/2 "2022-06-08T11:16:55Z")

</div>

Okay I have new errors now. I sorted the first bit of it, just had to reref the game settings but now I get this.

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: Mapping new ns [http://schemas.android.com/repository/android/common/02](http://schemas.android.com/repository/android/common/02) to old ns [http://schemas.android.com/repository/android/common/01](http://schemas.android.com/repository/android/common/01)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: Mapping new ns [http://schemas.android.com/repository/android/generic/02](http://schemas.android.com/repository/android/generic/02) to old ns [http://schemas.android.com/repository/android/generic/01](http://schemas.android.com/repository/android/generic/01)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: Mapping new ns [http://schemas.android.com/sdk/android/repo/addon2/02](http://schemas.android.com/sdk/android/repo/addon2/02) to old ns [http://schemas.android.com/sdk/android/repo/addon2/01](http://schemas.android.com/sdk/android/repo/addon2/01)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: Mapping new ns [http://schemas.android.com/sdk/android/repo/addon2/03](http://schemas.android.com/sdk/android/repo/addon2/03) to old ns [http://schemas.android.com/sdk/android/repo/addon2/01](http://schemas.android.com/sdk/android/repo/addon2/01)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: Mapping new ns [http://schemas.android.com/sdk/android/repo/repository2/02](http://schemas.android.com/sdk/android/repo/repository2/02) to old ns [http://schemas.android.com/sdk/android/repo/repository2/01](http://schemas.android.com/sdk/android/repo/repository2/01)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: Mapping new ns [http://schemas.android.com/sdk/android/repo/repository2/03](http://schemas.android.com/sdk/android/repo/repository2/03) to old ns [http://schemas.android.com/sdk/android/repo/repository2/01](http://schemas.android.com/sdk/android/repo/repository2/01)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: Mapping new ns [http://schemas.android.com/sdk/android/repo/sys-img2/03](http://schemas.android.com/sdk/android/repo/sys-img2/03) to old ns [http://schemas.android.com/sdk/android/repo/sys-img2/01](http://schemas.android.com/sdk/android/repo/sys-img2/01)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: Mapping new ns [http://schemas.android.com/sdk/android/repo/sys-img2/02](http://schemas.android.com/sdk/android/repo/sys-img2/02) to old ns [http://schemas.android.com/sdk/android/repo/sys-img2/01](http://schemas.android.com/sdk/android/repo/sys-img2/01)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: Mapping new ns [http://schemas.android.com/repository/android/common/02](http://schemas.android.com/repository/android/common/02) to old ns [http://schemas.android.com/repository/android/common/01](http://schemas.android.com/repository/android/common/01)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: Mapping new ns [http://schemas.android.com/repository/android/generic/02](http://schemas.android.com/repository/android/generic/02) to old ns [http://schemas.android.com/repository/android/generic/01](http://schemas.android.com/repository/android/generic/01)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: Mapping new ns [http://schemas.android.com/sdk/android/repo/addon2/02](http://schemas.android.com/sdk/android/repo/addon2/02) to old ns [http://schemas.android.com/sdk/android/repo/addon2/01](http://schemas.android.com/sdk/android/repo/addon2/01)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: Mapping new ns [http://schemas.android.com/sdk/android/repo/addon2/03](http://schemas.android.com/sdk/android/repo/addon2/03) to old ns [http://schemas.android.com/sdk/android/repo/addon2/01](http://schemas.android.com/sdk/android/repo/addon2/01)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: Mapping new ns [http://schemas.android.com/sdk/android/repo/repository2/02](http://schemas.android.com/sdk/android/repo/repository2/02) to old ns [http://schemas.android.com/sdk/android/repo/repository2/01](http://schemas.android.com/sdk/android/repo/repository2/01)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: Mapping new ns [http://schemas.android.com/sdk/android/repo/repository2/03](http://schemas.android.com/sdk/android/repo/repository2/03) to old ns [http://schemas.android.com/sdk/android/repo/repository2/01](http://schemas.android.com/sdk/android/repo/repository2/01)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: Mapping new ns [http://schemas.android.com/sdk/android/repo/sys-img2/03](http://schemas.android.com/sdk/android/repo/sys-img2/03) to old ns [http://schemas.android.com/sdk/android/repo/sys-img2/01](http://schemas.android.com/sdk/android/repo/sys-img2/01)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: Mapping new ns [http://schemas.android.com/sdk/android/repo/sys-img2/02](http://schemas.android.com/sdk/android/repo/sys-img2/02) to old ns [http://schemas.android.com/sdk/android/repo/sys-img2/01](http://schemas.android.com/sdk/android/repo/sys-img2/01)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Warning: unexpected element (uri:"", local:“base-extension”). Expected elements are \<{}codename\>,\<{}layoutlib\>,\<{}api-level\>  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :app:preBuild UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :app:preDebugBuild UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:preBuild UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:preDebugBuild UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:compileDebugAidl NO-SOURCE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:preBuild UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:preDebugBuild UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:compileDebugAidl NO-SOURCE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :app:compileDebugAidl UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:packageDebugRenderscript NO-SOURCE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:packageDebugRenderscript NO-SOURCE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :app:compileDebugRenderscript NO-SOURCE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :app:generateDebugBuildConfig UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :app:javaPreCompileDebug UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :app:generateDebugResValues UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :app:generateDebugResources UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:compileDebugRenderscript NO-SOURCE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:generateDebugResValues UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:generateDebugResources UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:packageDebugResources UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:generateDebugResValues UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:compileDebugRenderscript NO-SOURCE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:generateDebugResources UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:packageDebugResources UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :app:mergeDebugResources UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :app:createDebugCompatibleScreenManifests UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :app:extractDeepLinksDebug UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:extractDeepLinksDebug UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:processDebugManifest UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:extractDeepLinksDebug UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:processDebugManifest UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :app:processDebugManifest  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:compileDebugLibraryResources UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:parseDebugLocalResources UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:generateDebugRFile UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:compileDebugLibraryResources UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:parseDebugLocalResources UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:generateDebugRFile UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :app:processDebugResources  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:generateDebugBuildConfig UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:javaPreCompileDebug UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:compileDebugJavaWithJavac UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :downloader\_library:bundleLibCompileToJarDebug UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:generateDebugBuildConfig UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:javaPreCompileDebug UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:compileDebugJavaWithJavac UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :permission\_library:bundleLibCompileToJarDebug UP-TO-DATE  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Z:\app\src\main\java\com\epicgames\unreal\GameActivity.java:193: error: cannot find symbol  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :app:compileDebugJavaWithJavac FAILED  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): import com.epicgames.unreal.DownloadShim;  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The following annotation processors are not incremental: lifecycle-compiler-2.0.0.jar (androidx.lifecycle:lifecycle-compiler:2.0.0).  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ^  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Make sure all annotation processors are incremental to improve your build speed.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): symbol: class DownloadShim  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): location: package com.epicgames.unreal  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Note: Some input files use or override a deprecated API.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Note: Recompile with -Xlint:deprecation for details.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 1 error  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): FAILURE: Build failed with an exception.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \* What went wrong:  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Execution failed for task ‘:app:compileDebugJavaWithJavac’.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 32 actionable tasks: 3 executed, 29 up-to-date  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Compilation failed; see the compiler error output for details.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \* Try:  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 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: Packaging (Android (Multi:ASTC,DXT,ETC2)): \* Get more help at [https://help.gradle.org](https://help.gradle.org)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED in 8s  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: cmd.exe failed with args /c “C:\Users\demon\Documents\Unreal Projects\Top\_Down\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleDebug  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): (see C:\Users\demon\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+UE\_5.0\Log.txt for full exception trace)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool executed for 0h 0m 34s  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=1 (Error\_Unknown)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Updating environment variables set by a Turnkey sub-process  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The system cannot find the path specified.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The system cannot find the path specified.

---

<div class="post-metadata">

**Author:** ![Xuiru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xuiru](https://forums.unrealengine.com/u/Xuiru)\
**Post date:** [June 8, 2022, 12:14pm UTC](https://forums.unrealengine.com/t/cook-error-for-android/576914/3 "2022-06-08T12:14:14Z")

</div>

Anyone able to help as it’s doing my head in.

---

<div class="post-metadata">

**Author:** ![Xuiru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xuiru](https://forums.unrealengine.com/u/Xuiru)\
**Post date:** [June 8, 2022, 6:23pm UTC](https://forums.unrealengine.com/t/cook-error-for-android/576914/4 "2022-06-08T18:23:00Z")

</div>

Sorry to bump but I need this figured out and I don’t want to make a new thread.

---

<div class="post-metadata">

**Author:** ![Astrotronic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/astrotronic/32/1194566_2.png) [@Astrotronic](https://forums.unrealengine.com/u/Astrotronic)\
**Post date:** [June 8, 2022, 6:39pm UTC](https://forums.unrealengine.com/t/cook-error-for-android/576914/5 "2022-06-08T18:39:37Z")

</div>

Hi Xulru,

I’ve had luck resolving rungradle.bat errors in the past by deleting the “Intermediate” folder in my UE project and restarting my PC. The Intermediate folder will be regenerated when re-launching your project. (Restart may be optional, but I do it to ensure gradle daemon is not still running)

Hope that helps!

---

<div class="post-metadata">

**Author:** ![Xuiru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xuiru](https://forums.unrealengine.com/u/Xuiru)\
**Post date:** [June 8, 2022, 8:02pm UTC](https://forums.unrealengine.com/t/cook-error-for-android/576914/6 "2022-06-08T20:02:54Z")

</div>

I’ve manage to sort that bit out now but now I get this. I can’t accept the license either. Every time I hit accept it doesn’t do anything.

LogSlate: Window ‘Android SDK License’ being destroyed

and this

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Directory doesn’t exist C:/Users/demon/AppData/Local/Android/Sdk/platforms/android-32/licenses  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: Android SDK license file not found. Please agree to license in Android project settings in the editor.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): (see C:\Users\demon\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+UE\_5.0\Log.txt for full exception trace)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool executed for 0h 0m 22s  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=1 (Error\_Unknown)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Updating environment variables set by a Turnkey sub-process  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The system cannot find the path specified.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The system cannot find the path specified.

I have android studio installed but for the life of me I can’t figure this out. It seems like all it needs now is the license and then it will package but it won’t accept…

---

<div class="post-metadata">

**Author:** ![Xuiru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xuiru](https://forums.unrealengine.com/u/Xuiru)\
**Post date:** [June 8, 2022, 8:05pm UTC](https://forums.unrealengine.com/t/cook-error-for-android/576914/7 "2022-06-08T20:05:19Z")

</div>

Nvm I now accepted license by changing folder but now I get this… It’s like beating my head against a wall.

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Z:\app\src\main\java\com\epicgames\unreal\GameActivity.java:193: error: cannot find symbol  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Task :app:compileDebugJavaWithJavac FAILED  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The following annotation processors are not incremental: lifecycle-compiler-2.0.0.jar (androidx.lifecycle:lifecycle-compiler:2.0.0).  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Make sure all annotation processors are incremental to improve your build speed.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): import com.epicgames.unreal.DownloadShim;  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ^  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): symbol: class DownloadShim  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): location: package com.epicgames.unreal  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Note: Some input files use or override a deprecated API.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Note: Recompile with -Xlint:deprecation for details.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 1 error  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): FAILURE: Build failed with an exception.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \* What went wrong:  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Execution failed for task ‘:app:compileDebugJavaWithJavac’.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Compilation failed; see the compiler error output for details.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \* Try:  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 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: Packaging (Android (Multi:ASTC,DXT,ETC2)): \* Get more help at [https://help.gradle.org](https://help.gradle.org)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED in 8s  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 32 actionable tasks: 2 executed, 30 up-to-date  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: cmd.exe failed with args /c “C:\Users\demon\Documents\Unreal Projects\Top\_Down\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleDebug  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): (see C:\Users\demon\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+UE\_5.0\Log.txt for full exception trace)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool executed for 0h 0m 35s  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=1 (Error\_Unknown)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Updating environment variables set by a Turnkey sub-process  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The system cannot find the path specified.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The system cannot find the path specified.

---

<div class="post-metadata">

**Author:** ![Xuiru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xuiru](https://forums.unrealengine.com/u/Xuiru)\
**Post date:** [June 8, 2022, 8:22pm UTC](https://forums.unrealengine.com/t/cook-error-for-android/576914/8 "2022-06-08T20:22:07Z")

</div>

Did what you said and still getting this… I don’t get it and I don’t know what to do anymore…

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Z:\app\src\main\java\com\epicgames\unreal\GameActivity.java:193: error: cannot find symbol  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The following annotation processors are not incremental: lifecycle-compiler-2.0.0.jar (androidx.lifecycle:lifecycle-compiler:2.0.0).  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): import com.epicgames.unreal.DownloadShim;  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Make sure all annotation processors are incremental to improve your build speed.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ^  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): symbol: class DownloadShim  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): location: package com.epicgames.unreal  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Note: Some input files use or override a deprecated API.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Note: Recompile with -Xlint:deprecation for details.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 1 error  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): FAILURE: Build failed with an exception.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \* What went wrong:  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Execution failed for task ‘:app:compileDebugJavaWithJavac’.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \> Compilation failed; see the compiler error output for details.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): \* Try:  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 38 actionable tasks: 38 executed  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 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: Packaging (Android (Multi:ASTC,DXT,ETC2)): \* Get more help at [https://help.gradle.org](https://help.gradle.org)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED in 12s  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: cmd.exe failed with args /c “C:\Users\demon\Documents\Unreal Projects\Top\_Down\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleDebug  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): (see C:\Users\demon\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+UE\_5.0\Log.txt for full exception trace)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool executed for 0h 0m 43s  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=1 (Error\_Unknown)  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Updating environment variables set by a Turnkey sub-process  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The system cannot find the path specified.  
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The system cannot find the path specified.

---

<div class="post-metadata">

**Author:** ![Astrotronic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/astrotronic/32/1194566_2.png) [@Astrotronic](https://forums.unrealengine.com/u/Astrotronic)\
**Post date:** [June 9, 2022, 5:21pm UTC](https://forums.unrealengine.com/t/cook-error-for-android/576914/9 "2022-06-09T17:21:39Z")

</div>

Glad to hear you made it past that. I did a google search for " app\src\main\java\com\epicgames\unreal\GameActivity.java:193: error: cannot find symbol "  
and came across [this thread](https://forums.unrealengine.com/t/4-26-cannot-package-for-android/154541/7).

Two important things is to have the right SDK downloaded in Android Studio and for the SDKConfig in your project settings to point to the right things. (This usually works by default, but sometimes needs to be manually pointed to the correct location)

Also to take a step back to the beginning, this is the [first doc](https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/Mobile/Android/Setup/AndroidStudio/) you should follow when setting things up.

---

<div class="post-metadata">

**Author:** ![Xuiru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xuiru](https://forums.unrealengine.com/u/Xuiru)\
**Post date:** [June 9, 2022, 6:15pm UTC](https://forums.unrealengine.com/t/cook-error-for-android/576914/10 "2022-06-09T18:15:45Z")

</div>

Thanks for all your help idk how I got it working but I did. I deleted unreal engine and reinstalled plus updated to 5.0.2 so not sure if it was just being weird because a bug or what but deleting it and fresh install seemed to have worked.

Thanks again I do appreciate it.
