# ERROR packaging for Android using UE 5.4.2 with "Mobile Location Services - Android" plugin enabled?

**URL:** <https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, bug-report, question\
**Created:** [June 13, 2024, 4:36pm UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971 "2024-06-13T16:36:42Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![thekroom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thekroom](https://forums.unrealengine.com/u/thekroom)\
**Post date:** [June 13, 2024, 4:36pm UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/1 "2024-06-13T16:36:42Z")

</div>

Hello everyone,

I am facing difficulties when packaging my Android app with Unreal Engine 5.4.2 while having the “Mobile Location Services - Android” plugin enabled (along with all dependencies and permissions). Packaging the project on 5.3.2 using the plugin works fine.

Packaging Error log (5.4.2): [eroare - Pastebin.com](https://pastebin.com/JzBkKBiB)

If anyone is able to test if packaging for Android works on UE 5.4.2 while having “Mobile Location Services - Android” plugin enabled that would greatly help to determine whether this is a bug or user error.

Many thanks!

---

<div class="post-metadata">

**Author:** ![OrbitalZones](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/orbitalzones/32/1214470_2.png) [@OrbitalZones](https://forums.unrealengine.com/u/OrbitalZones)\
**Post date:** [June 13, 2024, 6:32pm UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/2 "2024-06-13T18:32:49Z")

</div>

I just created a brand new 5.4.2 project from 3rd person template. Mobile location services for Android plugin was enabled by default. Packaging for Android took longer than expected, but completed without any error.

There’s and old example project for getting location data, will try if I can package this and get it to my Android phone.

Edit: Trying to implement location services of my project that worked yesterday, but now I am getting the same error ☹

---

<div class="post-metadata">

**Author:** ![thekroom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thekroom](https://forums.unrealengine.com/u/thekroom)\
**Post date:** [June 14, 2024, 7:21am UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/3 "2024-06-14T07:21:46Z")

</div>

Thank you for your prompt reply, OrbitalZones!

As of right now I understand you are experiencing the same behavior when packaging for Android using the plugin mentioned above. Does the error have the same text or very similar to the pastebin link?

I will wait for a few more replies, if they will come, and if they happen to confirm the same result I will file a bug report.

---

<div class="post-metadata">

**Author:** ![OrbitalZones](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/orbitalzones/32/1214470_2.png) [@OrbitalZones](https://forums.unrealengine.com/u/OrbitalZones)\
**Post date:** [June 14, 2024, 8:33am UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/4 "2024-06-14T08:33:56Z")

</div>

It is exactly the same error message (GameActivity.java:729: error: cannot find symbol), apart that on my PC the script will mount drive name Y: , because Z: is already used.

Also I can confirm that packaging is working again as soon I disable the plugin.

---

<div class="post-metadata">

**Author:** ![OrbitalZones](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/orbitalzones/32/1214470_2.png) [@OrbitalZones](https://forums.unrealengine.com/u/OrbitalZones)\
**Post date:** [June 16, 2024, 4:11pm UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/5 "2024-06-16T16:11:55Z")

</div>

Same issue with UE 5.4.2 when packaging with enabled mobile location services Android plugin on mac:

UATHelper: Packaging (Android (ASTC)): /Users/…/Documents/Unreal Projects/UE54BLANK/Intermediate/Android/arm64/gradle/app/src/main/java/com/epicgames/unreal/GameActivity.java:731: error: cannot find symbol

---

<div class="post-metadata">

**Author:** ![thekroom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thekroom](https://forums.unrealengine.com/u/thekroom)\
**Post date:** [June 16, 2024, 5:18pm UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/6 "2024-06-16T17:18:30Z")

</div>

Thank you for also testing this direction, I was curious if the iOS version worked. I had filed a bug report and I will update this thread if anything happens.

Thank you for your help!

---

<div class="post-metadata">

**Author:** ![OrbitalZones](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/orbitalzones/32/1214470_2.png) [@OrbitalZones](https://forums.unrealengine.com/u/OrbitalZones)\
**Post date:** [June 16, 2024, 6:50pm UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/7 "2024-06-16T18:50:08Z")

</div>

Be aware this is not related to location services for iOS. It is still for Android, but when packaging on Unreal for macos. Thanks for adding this to your bug report.

---

<div class="post-metadata">

**Author:** ![raianlp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@raianlp](https://forums.unrealengine.com/u/raianlp)\
**Post date:** [June 22, 2024, 7:43pm UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/8 "2024-06-22T19:43:50Z")

</div>

Okay, 5.4.2 definitely throws this error when packaging for Android!

```auto
Z:\app\src\main\java\com\epicgames\unreal\GameActivity.java:729: error: cannot find symbol
UATHelper: Packaging (Android (ETC2)): activityContext.runOnUiThread(new Runnable()

```

Solution: disable Mobile Location Services for Android! LOL

---

<div class="post-metadata">

**Author:** ![JustYk\_YT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JustYk\_YT](https://forums.unrealengine.com/u/JustYk_YT)\
**Post date:** [July 1, 2024, 2:13am UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/9 "2024-07-01T02:13:57Z")

</div>

no way, i wasted 3 days to fix it , i thought it was something wrong with jdk, thx man

---

<div class="post-metadata">

**Author:** ![Rovmit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rovmit](https://forums.unrealengine.com/u/Rovmit)\
**Post date:** [July 8, 2024, 11:08am UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/10 "2024-07-08T11:08:20Z")

</div>

Hello: Please desable plugins in your projects.

Android Media Player (Plugins Disable)  
Android Android Movie Player (Plugins Disable)

If after this it still doesn’t work, then disable the next plugin Android FileServer (Disable)

Thanks

---

<div class="post-metadata">

**Author:** ![thekroom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thekroom](https://forums.unrealengine.com/u/thekroom)\
**Post date:** [July 9, 2024, 9:17am UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/11 "2024-07-09T09:17:31Z")

</div>

Hello Rovmit,

Thank you for your reply!

Quick recap: I am working on UE 5.4.2, project packages fine until I enable “Mobile Location Services - Android Implementation” plugin.

With that plugin enabled I had disabled Android Media Player and Android Movie Player. The packaging failed with the same error as in my initial post.

After this I had also disabled Android FileServer plugin, unfortunately the packaging failed with the same error.

Can you confirm that version 5.4.2 of Unreal Engine, while having Mobile Location Services for Android enabled, is able to package without errors on your end?

Thank you.

---

<div class="post-metadata">

**Author:** ![so\_toasty](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@so\_toasty](https://forums.unrealengine.com/u/so_toasty)\
**Post date:** [November 2, 2024, 10:19pm UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/12 "2024-11-02T22:19:09Z")

</div>

same issue here with version: 5.4.4  
Every time I activate the Mobile Location Services - Android plugin, my build fails with the same error: cannot find symbol.

---

<div class="post-metadata">

**Author:** ![so\_toasty](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@so\_toasty](https://forums.unrealengine.com/u/so_toasty)\
**Post date:** [November 12, 2024, 1:48pm UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/13 "2024-11-12T13:48:01Z")

</div>

**found a fix!**  
Copy and paste the native **Mobile Location Services - Android plugin** inside your Project/Plugins folder and tweak some code (not a big deal)

Step by step documentation 👇

> **[COALA Wiki - UE 5.4 Installation Instructions](https://sites.google.com/thoughtfish.de/wiki-coala/unreal-engine-plugins/ue-4-27-5-x/ue-5-4-installation-instructions)**
>
> UE 5.4 plugin fix - android

More detail about the issue: [5.3.2 packed android GPS ACCESS\_FINE\_LOCATION not working - #2 by MathewW](https://forums.unrealengine.com/t/5-3-2-packed-android-gps-access-fine-location-not-working/1854054/2)

---

<div class="post-metadata">

**Author:** ![thekroom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thekroom](https://forums.unrealengine.com/u/thekroom)\
**Post date:** [November 16, 2024, 5:22pm UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/14 "2024-11-16T17:22:41Z")

</div>

Thank you for posting this fix! I will make some time next week to get back on the project and apply the above. If everything goes well then I can finally mark this thread as solved.

---

<div class="post-metadata">

**Author:** ![Luckziii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Luckziii](https://forums.unrealengine.com/u/Luckziii)\
**Post date:** [March 2, 2025, 6:18pm UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/15 "2025-03-02T18:18:54Z")

</div>

I’ve got the same problem, and have carried out the tutorial on how to fix the issue (project wont package) I’m in 5.4.4, and packaging with apk 26. Figured it might be that? although if i move it up to 33, I dont think ill have access to other plugins i’m using. Thoughts on what i can do? Or if the apk version is even the problem?

Cheers

---

<div class="post-metadata">

**Author:** ![Skyboy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skyboy](https://forums.unrealengine.com/u/Skyboy)\
**Post date:** [March 7, 2025, 4:55pm UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/16 "2025-03-07T16:55:01Z")

</div>

Can absolutely beautifully confirm that removing the android plugin

“Mobile location services - Android implementation”

Has solved my error that was this

LogPlayLevel: Error: UAT: Z:\app\src\main\java\com\epicgames\unreal\GameActivity.java:801: error: cannot find symbol

God, This had me chasing all my sdk/ndks and javas and code for the last 3 days.  
That’s such a relief! Thank you!

Update: Ive gotten 6 more of these errors today.

Android development on unreal is so fustrating.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [April 6, 2025, 4:55pm UTC](https://forums.unrealengine.com/t/error-packaging-for-android-using-ue-5-4-2-with-mobile-location-services-android-plugin-enabled/1901971/17 "2025-04-06T16:55:52Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
