Fuse install android failed on macOS

Hi there,
I’m having trouble installing Fuse for OS X. I have installed Ant to usr/local/ant and am specifying this as the location when prompted. I have Android studio/Java installed, and Ant PATH all set up.

The installer then is successful with: Installing platform-tools which may take a long while... Installing build-tools;23.0.1 which may take a long while... done Installing cmake;3.6.3155560 which may take a long while... done

However, it hangs on:

Installing ndk-bundle which may take a long while...

When I Ctrl+C to exit due to it taking over half an hour, I get this:

fuse: Failed to install android

Unhandled Exception:
System.InvalidOperationException: 
  at (wrapper managed-to-native) System.Reflection.Emit.DynamicMethod:create_dynamic_method (System.Reflection.Emit.DynamicMethod,System.Reflection.Emit.DynamicMethod)
  at System.Reflection.Emit.DynamicMethod.CreateDynMethod () <0x24e4c48 + 0x0014f> in <filename unknown>:0 
  at System.Reflection.Emit.DynamicMethod.CreateDelegate (System.Type delegateType) <0x24e4b90 + 0x00033> in <filename unknown>:0 
  at Newtonsoft.Json.Utilities.DynamicReflectionDelegateFactory.CreateDefaultConstructor[T] (System.Type type) <0x1fb0eb0 + 0x000b7> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.GetDefaultCreator (System.Type createdType) <0x1fb0a00 + 0x0001f> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.InitializeContract (Newtonsoft.Json.Serialization.JsonContract contract) <0x1faede8 + 0x00167> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract (System.Type objectType) <0x1fae398 + 0x00047> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) <0x1e14008 + 0x00225> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) <0x1e13d20 + 0x000e5> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.GetContractSafe (System.Object value) <0x1e13ce8 + 0x00031> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) <0x1e13a70 + 0x0006f> in <filename unknown>:0 
  at Newtonsoft.Json.JsonSerializer.SerializeInternal (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) <0x1e131d8 + 0x004e3> in <filename unknown>:0 
  at Newtonsoft.Json.JsonSerializer.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) <0x1e131b0 + 0x00025> in <filename unknown>:0 
  at Newtonsoft.Json.JsonConvert.SerializeObjectInternal (System.Object value, System.Type type, Newtonsoft.Json.JsonSerializer jsonSerializer) <0x1cd9e70 + 0x000ef> in <filename unknown>:0 
  at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) <0x1d787e0 + 0x0002b> in <filename unknown>:0 
  at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, Newtonsoft.Json.JsonSerializerSettings settings) <0x1d78758 + 0x0001f> in <filename unknown>:0 
  at Outracks.Fuse.AndroidManager.ConfigLoader.Save (Outracks.Fuse.AndroidManager.OptionalSdkConfigOptions options) <0x1d77de0 + 0x000d3> in <filename unknown>:0 
  at Outracks.Fuse.AndroidManager.InstallCommand.Install (Outracks.Fuse.AndroidManager.InstallOptions opts) <0x1cd7c08 + 0x0009b> in <filename unknown>:0 
  at Outracks.Fuse.AndroidManager.InstallCommand.Run (Outracks.Fuse.AndroidManager.InstallOptions opts) <0x1cd7be0 + 0x00017> in <filename unknown>:0 
  at Outracks.Fuse.AndroidManager.Program+<Main>c__AnonStorey0.<>m__0 (Outracks.Fuse.AndroidManager.InstallOptions opts) <0x1cd7a90 + 0x0008b> in <filename unknown>:0 
  at CommandLine.ParserResultExtensions.MapResult[T1,T2,TResult] (CommandLine.ParserResult`1 result, System.Func`2 parsedFunc1, System.Func`2 parsedFunc2, System.Func`2 notParsedFunc) <0x1cd7908 + 0x00098> in <filename unknown>:0 
  at Outracks.Fuse.AndroidManager.Program.Main (System.String[] args) <0x716fa0 + 0x00323> in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: 
  at (wrapper managed-to-native) System.Reflection.Emit.DynamicMethod:create_dynamic_method (System.Reflection.Emit.DynamicMethod,System.Reflection.Emit.DynamicMethod)
  at System.Reflection.Emit.DynamicMethod.CreateDynMethod () <0x24e4c48 + 0x0014f> in <filename unknown>:0 
  at System.Reflection.Emit.DynamicMethod.CreateDelegate (System.Type delegateType) <0x24e4b90 + 0x00033> in <filename unknown>:0 
  at Newtonsoft.Json.Utilities.DynamicReflectionDelegateFactory.CreateDefaultConstructor[T] (System.Type type) <0x1fb0eb0 + 0x000b7> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.GetDefaultCreator (System.Type createdType) <0x1fb0a00 + 0x0001f> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.InitializeContract (Newtonsoft.Json.Serialization.JsonContract contract) <0x1faede8 + 0x00167> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract (System.Type objectType) <0x1fae398 + 0x00047> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) <0x1e14008 + 0x00225> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) <0x1e13d20 + 0x000e5> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.GetContractSafe (System.Object value) <0x1e13ce8 + 0x00031> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) <0x1e13a70 + 0x0006f> in <filename unknown>:0 
  at Newtonsoft.Json.JsonSerializer.SerializeInternal (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) <0x1e131d8 + 0x004e3> in <filename unknown>:0 
  at Newtonsoft.Json.JsonSerializer.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) <0x1e131b0 + 0x00025> in <filename unknown>:0 
  at Newtonsoft.Json.JsonConvert.SerializeObjectInternal (System.Object value, System.Type type, Newtonsoft.Json.JsonSerializer jsonSerializer) <0x1cd9e70 + 0x000ef> in <filename unknown>:0 
  at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) <0x1d787e0 + 0x0002b> in <filename unknown>:0 
  at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, Newtonsoft.Json.JsonSerializerSettings settings) <0x1d78758 + 0x0001f> in <filename unknown>:0 
  at Outracks.Fuse.AndroidManager.ConfigLoader.Save (Outracks.Fuse.AndroidManager.OptionalSdkConfigOptions options) <0x1d77de0 + 0x000d3> in <filename unknown>:0 
  at Outracks.Fuse.AndroidManager.InstallCommand.Install (Outracks.Fuse.AndroidManager.InstallOptions opts) <0x1cd7c08 + 0x0009b> in <filename unknown>:0 
  at Outracks.Fuse.AndroidManager.InstallCommand.Run (Outracks.Fuse.AndroidManager.InstallOptions opts) <0x1cd7be0 + 0x00017> in <filename unknown>:0 
  at Outracks.Fuse.AndroidManager.Program+<Main>c__AnonStorey0.<>m__0 (Outracks.Fuse.AndroidManager.InstallOptions opts) <0x1cd7a90 + 0x0008b> in <filename unknown>:0 
  at CommandLine.ParserResultExtensions.MapResult[T1,T2,TResult] (CommandLine.ParserResult`1 result, System.Func`2 parsedFunc1, System.Func`2 parsedFunc2, System.Func`2 notParsedFunc) <0x1cd7908 + 0x00098> in <filename unknown>:0 
  at Outracks.Fuse.AndroidManager.Program.Main (System.String[] args) <0x716fa0 + 0x00323> in <filename unknown>:0 

Hi Nick,

you will want to let fuse install android to complete its tasks without interrupting it. The installation can take a significant amount of time, but Ctrl+C is expected to result in errors.

Thanks Uldis, I believe it was due to insufficient internet…! All sorted now. Thanks for the answer.