# Android - PackagingResults:Error Unknown Cook Failure

**URL:** <https://forums.unrealengine.com/t/android-packagingresults-error-unknown-cook-failure/480978>\
**Category:** Mobile\
**Tags:** unreal-engine, Android, packaging-projects, question\
**Created:** [March 27, 2021, 10:04pm UTC](https://forums.unrealengine.com/t/android-packagingresults-error-unknown-cook-failure/480978 "2021-03-27T22:04:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![The\_Techinox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@The\_Techinox](https://forums.unrealengine.com/u/The_Techinox)\
**Post date:** [March 27, 2021, 10:04pm UTC](https://forums.unrealengine.com/t/android-packagingresults-error-unknown-cook-failure/480978/1 "2021-03-27T22:04:46Z")

</div>

Hello, I went through a lot of forums without finding any answers. I have a packaging problem on my project. I can launch the game on my phone but the game crashes, however it cannot be packaged. Here are the logs I have (below) thank you in advance for your help !

[Log.txt](https://pastebin.com/6j7XCsHh)  
  
[Cook-2021.03.27-22.56.17.txt](https://pastebin.com/4ad8nPZc)  
  
[UBT-TestProj-Android-Development\_2.txt](https://pastebin.com/GxujwNFn)

---

<div class="post-metadata">

**Author:** ![feiwu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@feiwu](https://forums.unrealengine.com/u/feiwu)\
**Post date:** [March 28, 2021, 1:56pm UTC](https://forums.unrealengine.com/t/android-packagingresults-error-unknown-cook-failure/480978/2 "2021-03-28T13:56:28Z")

</div>

here is the solution:  
Please create a realtime database on firebase console, and download the google-service.json,  
Replace the file under your Content/google/.

I wil submit the fix in next few days to not require create an realtime database, since I do remember it have fixed in easyfirebase pro.

---

<div class="post-metadata">

**Author:** ![The\_Techinox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@The\_Techinox](https://forums.unrealengine.com/u/The_Techinox)\
**Post date:** [March 28, 2021, 2:07pm UTC](https://forums.unrealengine.com/t/android-packagingresults-error-unknown-cook-failure/480978/3 "2021-03-28T14:07:16Z")

</div>

Thanks it was the problem i replace google-service.json after create empty realtime database from firebase and it works for your plugin !
