Unable to build for Android + Fmod on Mac (Launch mode)

Hey there.

I need to build a game for Android with Fmod integrated. It seems that I finally managed to integrate Fmod for Android, with the UE4.10 from source build. But now I’m having another problem. It seems that it could come from the Android Ndk. Here is the output log when I try to build :

LogPlayLevel: mono: ==== Writing new GameActivity.java file to /Volumes/DATA/GAMES DEV/HUMANOPLANCTON/Humano Last/Humano/Intermediate/Android/APK/src/com/epicgames/ue4/GameActivity.java ====
LogPlayLevel: mono: Preparing native code for debugging...
LogPlayLevel: mono: [armeabi-v7a] Gdbserver      : [arm-linux-androideabi-4.8] libs/armeabi-v7a/gdbserver
LogPlayLevel: mono: [armeabi-v7a] Gdbsetup       : libs/armeabi-v7a/gdb.setup
LogPlayLevel: mono: [armeabi-v7a] Install        : libUE4.so => libs/armeabi-v7a/libUE4.so
LogPlayLevel: mono: /Users///android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip:./libs/armeabi-v7a/stiGQtAM[.text]: No space left on device
LogPlayLevel: mono: /Users///android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip:./libs/armeabi-v7a/stiGQtAM: No space left on device
LogPlayLevel: mono: make: *** [libs/armeabi-v7a/libUE4.so] Error 1
LogPlayLevel: mono: make: *** Deleting file `libs/armeabi-v7a/libUE4.so'
LogPlayLevel: mono: UnrealBuildTool Exception: ERROR: /Users///android-ndk-r10e/ndk-build failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1
LogPlayLevel: CommandUtils.Run: Run: Took 141,430589s to run mono, ExitCode=5
LogPlayLevel: BuildCommand.Execute: ERROR: BUILD FAILED
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception:
LogPlayLevel: Program.Main: ERROR: Exception in AutomationUtils.Automation: Command failed (Result:5): /Users/Shared/UnrealEngine/UnrealEngine-4.10/Engine/Binaries/DotNET/UnrealBuildTool.exe "/Volumes/DATA/GAMES DEV/HUMANOPLANCTON/Humano Last/Humano/Humano.uproject" Android Development -prepfordeploy -nocreatestub -NoHotReloadFromIDE -ignorejunk. See logfile for details: 'UnrealBuildTool-2016.03.23-13.07.38.txt'
LogPlayLevel: Stacktrace:   at AutomationTool.CommandUtils.RunAndLog (System.String App, System.String CommandLine, System.String Logfile, Int32 MaxSuccessCode, System.String Input, ERunOptions Options, System.Collections.Generic.Dictionary`2 EnvVars) [0x00000] in <filename unknown>:0
LogPlayLevel:   at AutomationTool.CommandUtils.RunAndLog (AutomationTool.CommandEnvironment Env, System.String App, System.String CommandLine, System.String LogName, Int32 MaxSuccessCode, System.String Input, ERunOptions Options, System.Collections.Generic.Dictionary`2 EnvVars) [0x00000] in <filename unknown>:0
LogPlayLevel:   at AutomationTool.CommandUtils.RunUBT (AutomationTool.CommandEnvironment Env, System.String UBTExecutable, System.String CommandLine, System.String LogName, System.Collections.Generic.Dictionary`2 EnvVars) [0x00000] in <filename unknown>:0
LogPlayLevel:   at AndroidPlatform.PostBuildTarget (AutomationTool.UE4Build Build, System.String ProjectName, System.String UProjectPath, System.String Config) [0x00000] in <filename unknown>:0
LogPlayLevel:   at AutomationTool.UE4Build.BuildWithUBT (System.String ProjectName, System.String TargetName, UnrealTargetPlatform TargetPlatform, System.String Config, System.String UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, System.String InAddArgs, Boolean ForceUnity, System.Collections.Generic.Dictionary`2 EnvVars) [0x00000] in <filename unknown>:0
LogPlayLevel:   at AutomationTool.UE4Build.Build (AutomationTool.BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, System.Collections.Generic.Dictionary`2 PlatformEnvVars) [0x00000] in <filename unknown>:0
LogPlayLevel:   at Project.Build (BuildCommand Command, AutomationTool.ProjectParams Params, Int32 WorkingCL) [0x00000] in <filename unknown>:0
LogPlayLevel:   at BuildCookRun.DoBuildCookRun (AutomationTool.ProjectParams Params) [0x00000] in <filename unknown>:0
LogPlayLevel:   at BuildCookRun.ExecuteBuild () [0x00000] in <filename unknown>:0
LogPlayLevel:   at BuildCommand.Execute () [0x00000] in <filename unknown>:0
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=5
LogPlayLevel: Domain_ProcessExit
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 153.177735
LogPlayLevel: RunUAT ERROR: AutomationTool was unable to run successfully.
PackagingResults:Error: Error Launch failed! Unknown Error

Please help me.

Hey ,

It looks like your device has ran out of space: LogPlayLevel: mono: /Users///android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip:./libs/armeabi-v7a/stiGQtAM[.text]: No space left on device

Please clean the device and verify that there is enough space for the project to install.

Thanks!

Hey ,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

Hey there. The problem was effectively a space problem :confused:
But it was a pain to build UE4 and Fmod for Android!
No it works so thanks!

You’re welcome. Let us know if you run into any additional troubles!