x

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"

Unable to build with Google VR plugin in 4.12

Hi,

Issue 100% reproducible on clean install of UE4.12, Windows 7.

  • Create blank blueprint project for mobile.

  • Enable Google VR plugin.

  • After reload of the engine/editor, build and try to deploy to Android phone.

  • BUILD FAILED. Console log below.

If the plugin is disabled, it deploys to Android with no problem. If the plugin is enabled, it fails to deploy again. The Android phone is using Android 5.1.1 and its HW has been tested with demanding Cardboard apps (it is an LG Flex 2)

. . .

LogPlayLevel: BUILD FAILED

LogPlayLevel: E:\NVPACK\android-sdk-windows\tools\ant\build.xml:601: The following error occurred while executing this line:

LogPlayLevel: E:\NVPACK\android-sdk-windows\tools\ant\build.xml:653: The following error occurred while executing this line:

LogPlayLevel: E:\NVPACK\android-sdk-windows\tools\ant\build.xml:698: null returned: 1

LogPlayLevel: Total time: 4 seconds

LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: System.IO.FileNotFoundException: Could not find file 'C:\Users\Fran\Documents\Unreal Projects\deletemeagain\Intermediate/Android/APK/bin/deletemeagain-debug.apk'.

LogPlayLevel: File name: 'C:\Users\Fran\Documents\Unreal Projects\deletemeagain\Intermediate/Android/APK/bin/deletemeagain-debug.apk'

LogPlayLevel: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

LogPlayLevel: at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)

LogPlayLevel: at UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk)

LogPlayLevel: at UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)

LogPlayLevel: at AndroidPlatform.Deploy(ProjectParams Params, DeploymentContext SC)

LogPlayLevel: at Project.Deploy(ProjectParams Params)

LogPlayLevel: at BuildCookRun.DoBuildCookRun(ProjectParams Params)

LogPlayLevel: at AutomationTool.BuildCommand.Execute() LogPlayLevel: at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)

LogPlayLevel: at AutomationTool.Automation.Process(String[] CommandLine)

LogPlayLevel: at AutomationTool.Program.MainProc(Object Param)

LogPlayLevel: at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)

LogPlayLevel: at AutomationTool.Program.Main()

LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)

Product Version: UE 4.12
Tags:
more ▼

asked Jun 04 '16 at 05:42 PM in Packaging & Deployment

avatar image

fortesdev
1 2 3

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

1 answer: sort voted first

HI fortesdev,

Can you make sure that you've followed the steps outlined in this documentation guide: https://docs.unrealengine.com/latest/INT/Platforms/GoogleVR/QuickStart/index.html

Following along with this I was able to deploy to GoogleVR.

I did a quick Google Search and found these results that may be worth you investigating: Search Results Here

  • Try reinstalling the AndroidWorks

  • Make sure you've got the correct NDK from Android

  • Install the latest Java version

Thank you!

Tim

more ▼

answered Jun 15 '16 at 09:38 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 879

(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