Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

create an AndroidJavaObject within a Thread

$
0
0
Hi, while usign System.Threading library for unity I find that this code makes the app to crash in Android: Task.Factory.StartNew(() => { var hubConnection = new AndroidJavaObject("microsoft.aspnet.signalr.client.hubs.Prueba"); }); (Prueba is an empty class with single property, created for the purpose just to check the HubConnection was not messing up with threads) Any idea why?

Viewing all articles
Browse latest Browse all 2383

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>