Jaa


Where can I find my version information and logs?

Outline

Version information

It's usually best to send back all of the information from the Copy Information buttons. Otherwise we will often need to request additional information. For example, operating system versions, Xcode version, installed Android API levels, and .NET version can all be important when helping to troubleshoot a problem.

Windows version information

Xamarin Studio

Help > About > Show Details > Copy Information [button]

Visual Studio

Help > About Microsoft Visual Studio > Copy Info [button]

Mac version information

Visual Studio for Mac

Visual Studio > About Visual Studio > Show Details > Copy Information [button]

Android SDK Tools, Platform-tools, Build-tools

Open the Android SDK Manager, and take a screenshot of the top Tools section.

Visual Studio for Mac

Tools > Open Android SDK Manager

Visual Studio

Tools > Android > Open Android SDK Manager...

IDE and installer logs

For each log location, be sure to zip up and attach the entire log folder.

Windows logs

Visual Studio Tools for Xamarin

%LOCALAPPDATA%\Xamarin\Logs

Visual Studio 2017

How to get the Visual Studio installation logs

Visual Studio 2015

Xamarin "Universal" installer

%LOCALAPPDATA%\Xamarin\Universal

These are the logs from the XamarinInstaller.exe installer.

Individual .msi installers, verbose logs

msiexec /i Xamarin.msi /l*vx "%USERPROFILE%\Desktop\Xamarin.log"

Reference: Command-Line Options

Visual Studio startup, verbose logs

devenv.exe /log "%USERPROFILE%\Desktop\VisualStudio.log"

Reference: /Log (devenv.exe)

Mac logs

You can select the Go > Go to Folder menu item in Finder, and then copy and paste any of these paths into the dialog.

Visual Studio for Mac

~/Library/Logs/VisualStudio/7.0 (this number may change depending on the version you are using)

This folder can also be opened via "Help -> Open Log Directory".

Xamarin Studio

~/Library/Logs/XamarinStudio-6.0 (this number may change depending on the version you are using)

This folder can also be opened via "Help -> Open Log Directory".

Xamarin "Universal" installer

~/Library/Logs/XamarinInstaller/Universal

These are the logs from the XamarinInstaller.dmg installer.

Xamarin Build Host

~/Library/Logs/Xamarin-[MAJOR.MINOR]

Verbose build output

  1. Enable diagnostic MSBuild output.

  2. For iOS apps, also enable verbose mtouch output by adding -v -v -v -v under Project Properties > iOS Build > General (tab) > Additional Options > Additional mtouch arguments.

  3. Clean and rebuild the project.

  4. Copy and paste the build output from the IDE into a text file.

    • Visual Studio (Windows): View > Output > Show output from: Build
    • Visual Studio for Mac: View > Pads > Errors > Build Output (tab)

Debug logs for Xamarin.Android and Xamarin.iOS apps

Visual Studio for Mac

View > Pads > Application Output

(Note that this menu item will only appear after the app has been launched.)

Visual Studio

View > Output > Show output from: Debug

Android adb logcat logs

After running the adb command, attach back the android_logcat.txt file from your Desktop. These instructions assume you have only one device attached.

See also the Android Debug Log page.

Visual Studio

  1. Tools > Android > Start Android Adb Command Prompt
  2. Clean the log: adb logcat -c
  3. Reproduce the issue.
  4. Output the log: adb logcat -vtime -d > "%USERPROFILE%\Desktop\android_logcat.txt"

Visual Studio for Mac

  1. Tools > Open Android SDK Command Prompt
  2. Clean the log: adb logcat -c
  3. Reproduce the issue.
  4. Output the log: adb logcat -vtime -d > ~/Desktop/android_logcat.txt

iOS simulator logs (on Mac)

  • To access the system log, select Debug > Open System Log... in the iOS Simulator app.

  • To view crash reports from the simulator, open Console.app and navigate to ~/Library/Logs > DiagnosticReports.

iOS device logs (on Mac)

Visual Studio for Mac

View > Pads > iOS Device Log

Xcode

Window > Devices > ${DeviceName}

Crash reports are available under the View Device Logs button. The system log for the device appears at the bottom of the window under the disclosure arrow.

Xcode 5

Window > Organizer > Devices (tab) > ${DeviceName}