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.
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.
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
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.
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.
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.
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.
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?
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.
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)
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.