Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo on Android Device #1

Open
rjtshrm opened this issue Dec 7, 2020 · 1 comment
Open

Demo on Android Device #1

rjtshrm opened this issue Dec 7, 2020 · 1 comment

Comments

@rjtshrm
Copy link

rjtshrm commented Dec 7, 2020

First of all thanks for the code. I tried to use the SignalR with Unity3D. The demo is working fine with the unity editor but not on the actual android device. Did you try to build the app on the android device. My android device is on the same network as my server is but can not connect to the server.

@Jbonavita
Copy link

Has there been any resolution to the issues with building for Android or iOS when using IL2CPP?
I get this error when running on Android.

InvalidOperationException: A suitable constructor for type 'Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionFactory' could not be located. Ensure the type is concrete and services are registered for all parameters of a public constructor.
06-18 21:49:15.039: E/Unity(27475): at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite (Microsoft.Extensions.DependencyInjection.ServiceLookup.ResultCache lifetime, System.Type serviceType, System.Type implementationType, Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteChain callSiteChain) [0x00000] in <00000000000000000000000000000000>:0
06-18 21:49:15.039: E/Unity(27475): at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact (Microsoft.Extensions.DependencyInjection.ServiceDescriptor descriptor, System.Type serviceType, Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteChain callSiteChain, System.Int32 slot) [0x00000] in <00000000000000000000000000000000>:0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants