xamarin android debug mode build issue

김대근 1 Reputation point
2021-06-13T17:34:28.597+00:00

I am Korean and the questions below may not be smooth as translation of what I wrote in Korean into a translator.

On xamarin android, the debug mode has the following symptoms (the xamarin.forms android part has the same symptoms).

  1. When launching the app with 'Start Debugging', the app appears to be running and then bounces off. (In case of running the app with 'Start Debugging' in release mode, it runs without a problem.)
  2. It runs without any problems when running the app with 'Start without Debug'.
  3. If you deploy in debug mode or run the app after launching the app with 'Start Debugging' or 'Start Without Debugging', the app will bounce if you install and run the app on the app player (such as Nox) or practical device.
  4. When you open the apk created after deploying in debug mode or launching the app with 'Start Debugging' or 'Start Without Debugging', the assembly is not packaged. Is it normal?
    • When you open the generated apk after deploying in release mode or launching the app with 'Start Debugging' or 'Start Without Debugging' in release mode, the assembly is packaged normally.
    • The apk generated in debug mode has no assemblies packaged, which seems to be associated with #1 and #3.
  5. Other questions. Is there any way to build apk without running the emulator?
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,336 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.