Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Failed to get package name from xx/xx/UE4Game-armv7.apk

Program.Main: AutomationTool terminated with exception: Program.Main: Exception in Android.Automation: Failed to get package name from D:/UnrealEngine4/UnrealEngine-4.0\Engine\Binaries/Android\UE4Game-armv7.apk Stacktrace: 在 AndroidPlatform.GetFinalObbName(String ApkName) 位置 d:\UnrealEngine4\UnrealEngine-4.0\Engine\Source\Programs\AutomationTool\Android\AndroidPlatform.Automation.cs:行号 61 在 AndroidPlatform.GetDeviceObbName(String ApkName) 位置 d:\UnrealEngine4\UnrealEngine-4.0\Engine\Source\Programs\AutomationTool\Android\AndroidPlatform.Automation.cs:行号 86 在 AndroidPlatform.Deploy(ProjectParams Params, DeploymentContext SC) 位置 d:\UnrealEngine4\UnrealEngine-4.0\Engine\Source\Programs\AutomationTool\Android\AndroidPlatform.Automation.cs:行号 186 在 Project.Deploy(ProjectParams Params) 位置 d:\UnrealEngine4\UnrealEngine-4.0\Engine\Source\Programs\AutomationTool\Scripts\DeployCommand.Automation.cs:行号 53 在 BuildCookRun.DoBuildCookRun(ProjectParams Params) 位置 d:\UnrealEngine4\UnrealEngine-4.0\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:行号 240 在 BuildCommand.Execute() 位置 d:\UnrealEngine4\UnrealEngine-4.0\Engine\Source\Programs\AutomationTool\BuildCommand.cs:行号 37 在 AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) 位置 d:\UnrealEngine4\UnrealEngine-4.0\Engine\Source\Programs\AutomationTool\Automation.cs:行号 357 在 AutomationTool.Automation.Process(String[] CommandLine) 位置 d:\UnrealEngine4\UnrealEngine-4.0\Engine\Source\Programs\AutomationTool\Automation.cs:行号 325 在 AutomationTool.Program.MainProc(Object Param) 位置 d:\UnrealEngine4\UnrealEngine-4.0\Engine\Source\Programs\AutomationTool\Program.cs:行号 88 在 AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param) 位置 d:\UnrealEngine4\UnrealEngine-4.0\Engine\Source\Programs\AutomationTool\Utils.cs:行号 568 在 AutomationTool.Program.Main() 位置 d:\UnrealEngine4\UnrealEngine-4.0\Engine\Source\Programs\AutomationTool\Program.cs:行号 48 Program.Main: Failed to get package name from D:/UnrealEngine4/UnrealEngine-4.0\Engine\Binaries/Android\UE4Game-armv7.apk

Product Version: Not Selected
more ▼

asked Mar 25 '14 at 07:52 AM in Packaging & Deployment

avatar image

31 1 4 4

avatar image [Epic]Maximusdb3 STAFF Apr 22 '14 at 04:19 PM

Hello Kenshin,

Sorry for the delay in responding. It looks as though you're trying to package for Android? If so make sure you've read through our documentation:

Getting Started: https://docs.unrealengine.com/latest/INT/Platforms/Android/GettingStarted/index.html

Launching/Packaging: https://docs.unrealengine.com/latest/INT/Engine/Deployment/Launching/index.html

Also make sure your device is on the list of our currently supported devices: https://docs.unrealengine.com/latest/INT/Platforms/Android/DeviceCompatibility/index.html

If you are still experiencing issues packaging for Android, let me know!

-Max B.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Did you build the android binaries?

You should have UE4Game-armv7.apk file in the specified path (Engine/Binaries/Android/) otherwise you will get the error.

Check **No android build option?** answer details about how to rebuild the engine.

Then you set your solution configuration to 'Development' (not -Editor) and solution platform to 'Android' in Visual Studio to build the .apk.

more ▼

answered Mar 25 '14 at 03:53 PM

avatar image

96 1 3 7

avatar image kenshin1987 Nov 16 '16 at 04:20 AM

thank you

(comments are locked)
10|2000 characters needed characters left
Viewable by all users


Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes. If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, could you please submit a new report for it.


more ▼

answered Nov 25 '14 at 03:20 PM

avatar image

[Epic] Gribbs ♦♦ STAFF
11.8k 292 14 77

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question