Click here to Skip to main content
15,882,114 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
Hi everyone,
I have successfully written my Android Application using C# with Xamarin.Android Visual Studio 2010. I debugged and deploy my app to AVD Emulator to test and everything went fine. But now, i am ready to package my app, i want to build my app in "Release" mode, now i got the error that says "Fatal Error in gc: Calling from unknown thread". If i changed my build configuration back to "Debug" the build will be successful with 0 Error and 0 Warnings, but if i changed the build configuration to "Release", i will get the above error and the build will fail.

Please help me because i don't know what to do. I have up to 5 threads inside my code which i created using the System.Threading namespace, all my project consists of 5 activities, 1 class and 4 layout. The 1 class file in my project contains all the functions i created which i am calling those functions from the 5 activities simultaneously.

Please help me!
Posted
Updated 23-Jan-21 13:07pm
Comments
Sergey Alexandrovich Kryukov 14-Sep-13 20:26pm    
How can anyone find out where did you screw up, without any information on your code?
—SA
Dominic Burford 13-Oct-14 6:32am    
Are you getting this message when running your app or when building it in release mode? What information are you seeing in the output window when you build it? Can you provide more information please.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900