#StackBounty: #java #c# #android #visual-studio #xamarin Release Mode and Debug Mode in VS

Bounty: 50

I currently work on an Android application, and I messed around a bit with the VS.

I was wandering, what are the real differences between the two modes? I did some research, but I didn’t completely get the real differences and the advantages of each one, as well as when to use a specific mode.

During my research, I came across those questions 1, 2 and 3, talking about the differences between the two.

  1. Why debug mode runs slower than release mode?
  2. When releasing an application to Google Play, which mode should I use and why?
  3. Can I create my own mode?

My app seems to be built fine in Debug mode, yet in Release mode I get a lot of warnings about “no debug symbols file was found”.

  1. What are those debug symbols?
  2. What is the “81” folder in the obj/Debug or obj/Release?
  3. I also noticed that sometimes, when switching from Debug to Release, some Resource.Id are not found, and I need to recreate the axml file for the layouts plus cleaning the sln. How can I prevent it?

As I understood, debug mode uses some files that release mode doesn’t need in order to run, I assume that the missing files are those “debug symbols”?. Maybe it’s a problem with Xamarin or with VS?
These are the warnings I get:

Warning     Directory objRelease81android/assets contains Xamarin.Android.Support.v7.AppCompat.dll but no debug symbols file was found.          0   
Warning     Directory objRelease81android/assets contains Java.Interop.dll but no debug symbols file was found.          0   
Warning     Directory objRelease81android/assets contains Xamarin.Android.Arch.Core.Common.dll but no debug symbols file was found.          0   
Warning     Directory objRelease81android/assets contains Xamarin.Android.Arch.Lifecycle.Common.dll but no debug symbols file was found.         0   
Warning     Directory objRelease81android/assets contains Xamarin.Android.Arch.Lifecycle.Runtime.dll but no debug symbols file was found.            0   
Warning     Directory objRelease81android/assets contains Xamarin.Android.Support.Animated.Vector.Drawable.dll but no debug symbols file was found.          0   
Warning     Directory objRelease81android/assets contains Xamarin.Android.Support.Annotations.dll but no debug symbols file was found.           0   
Warning     Directory objRelease81android/assets contains Xamarin.Android.Support.Compat.dll but no debug symbols file was found.            0   
Warning     Directory objRelease81android/assets contains Xamarin.Android.Support.Core.UI.dll but no debug symbols file was found.           0   
Warning     Directory objRelease81android/assets contains Xamarin.Android.Support.Core.Utils.dll but no debug symbols file was found.            0   
Warning     Directory objRelease81android/assets contains Xamarin.Android.Support.Design.dll but no debug symbols file was found.            0   
Warning     Directory objRelease81android/assets contains Xamarin.Android.Support.Fragment.dll but no debug symbols file was found.          0   
Warning     Directory objRelease81android/assets contains Xamarin.Android.Support.Media.Compat.dll but no debug symbols file was found.          0   
Warning     Directory objRelease81android/assets contains Xamarin.Android.Support.Transition.dll but no debug symbols file was found.            0   
Warning     Directory objRelease81android/assets contains Xamarin.Android.Support.v4.dll but no debug symbols file was found.            0   
Warning     Directory objRelease81android/assets contains Xamarin.Android.Support.v7.RecyclerView.dll but no debug symbols file was found.           0   
Warning     Directory objRelease81android/assets contains Xamarin.Android.Support.Vector.Drawable.dll but no debug symbols file was found.           0   
Warning     Directory objRelease81android/assets contains Xamarin.GooglePlayServices.Base.dll but no debug symbols file was found.           0   
Warning     Directory objRelease81android/assets contains Xamarin.GooglePlayServices.Basement.dll but no debug symbols file was found.           0   
Warning     Directory objRelease81android/assets contains Xamarin.GooglePlayServices.Maps.dll but no debug symbols file was found.           0   
Warning     Directory objRelease81android/assets contains Xamarin.GooglePlayServices.Tasks.dll but no debug symbols file was found.          0   
  1. Are those warning really something I need to worry about when releasing an app? Can they cause any further bugs?

I already tried:

  1. Deleting those files.

  2. Cleaning the solution and the whole project.
    • I hope you could help me with all the questions I asked and provide a fully detailed answer.


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.