Big*_*rty 8 c# memory-leaks xamarin xamarin.forms xamarin-profiler
Xamarin Profiler 不适用于 Android。我有 Visual Studio Enterprise(Xamarin Profiler 所需)。我目前正在尝试测试配置文件构建良好的 Microsoft 应用程序。
测试项目GitHub: https: //github.com/davidortinau/Xappy
尝试了许多模拟和真实设备。我收到以下错误消息:
XamarinProfiler.Windows.MainWindow Error: 0 : [2021-07-13 11:23:05.6658] Error occured on run com.microsoft.Xappy: Runtime installed on device pixel_2_pie_9_0_-_api_28 is too old. Deploy your app again with a newer version of Xamarin Studio
我的日志文件:
XamarinProfiler.Core.ProfilerService Information: 0 : [2021-07-13 11:22:40.7818] ########################################## XamarinProfiler.Core.ProfilerService Information: 0 : [2021-07-13 11:22:40.7828] # Xamarin Profiler version - 1.6.10.15 XamarinProfiler.Core.ProfilerService Information: 0 : [2021-07-13 11:22:40.7828] # * Arch x86_64 XamarinProfiler.Core.ProfilerService Information: 0 : [2021-07-13 11:22:40.7828] ########################################## XamarinProfiler.Core.ProfilerService Information: 0 : [2021-07-13 11:22:40.8669] initializing android platform XamarinProfiler.Core.ProfilerService Information: 0 : [2021-07-13 11:22:40.8689] initializing ios platform XamarinProfiler.Core.ProfilerService Information: 0 : [2021-07-13 11:22:40.8689] initializing mlpd platform XamarinProfiler.Core.ProfilerService Information: 0 : [2021-07-13 11:22:40.9429] processing command line = --options=name:pixel_2_pie_9_0_-api_28,gc:sgen,maxframes:8 --type=android --device=pixel_2_pie_9_0-api_28 --target=com.microsoft.Xappy|crc6419cf9c8281e18cce.SplashActivity --device=pixel_2_pie_9_0-api_28 --options=name:pixel_2_pie_9_0-api_28 XamarinProfiler.Core.ProfilerService Information: 0 : [2021-07-13 11:22:53.8548] processing command line = --options=name:pixel_2_pie_9_0-api_28,gc:sgen,maxframes:8 --type=android --device=pixel_2_pie_9_0-api_28 XamarinProfiler.Windows.Core.WindowsRunFactory Information: 0 : [2021-07-13 11:22:53.8778] Creating android run for com.microsoft.Xappy|crc6419cf9c8281e18cce.SplashActivity target on device pixel_2_pie_9_0-api_28 XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Information: 0 : [2021-07-13 11:22:53.8888] Initializing profiling... XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Information: 0 : [2021-07-13 11:22:53.9088] Waiting for device pixel_2_pie_9_0-api_28 to connect XamarinProfiler.Windows.MainWindow Information: 0 : [2021-07-13 11:22:53.9108] StartRecording for com.microsoft.Xappy XamarinProfiler.Core.Platforms.Android.ProfileAndroidRun Information: 0 : [2021-07-13 11:22:53.9268] checking runtime version on device pixel_2_pie_9_0-api_28 XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Information: 0 : [2021-07-13 11:22:53.9608] Stopping application com.microsoft.Xappy.crc6419cf9c8281e18cce.SplashActivity XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Information: 0 : [2021-07-13 11:22:53.9748] Application com.microsoft.Xappy.crc6419cf9c8281e18cce.SplashActivity stopped XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Error: 0 : [2021-07-13 11:22:53.9778] Sorry, something went wrong trying to run com.microsoft.Xappy: Runtime installed on device pixel_2_pie_9_0-api_28 is too old. Deploy your app again with a newer version of Xamarin Studio XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Error: 0 : [2021-07-13 11:22:53.9778] Sorry, something went wrong trying to run com.microsoft.Xappy: Runtime installed on device pixel_2_pie_9_0-api_28 is too old. Deploy your app again with a newer version of Xamarin Studio XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Information: 0 : [2021-07-13 11:22:53.9778] Sorry, something went wrong trying to run com.microsoft.Xappy: Runtime installed on device pixel_2_pie_9_0-api_28 is too old. Deploy your app again with a newer version of Xamarin Studio XamarinProfiler.Windows.MainWindow Error: 0 : [2021-07-13 11:22:53.9858] Error occured on run com.microsoft.Xappy: Runtime installed on device pixel_2_pie_9_0-api_28 is too old. Deploy your app again with a newer version of Xamarin Studio XamarinProfiler.Windows.MainWindow Error: 0 : [2021-07-13 11:22:53.9858] Error occured on run com.microsoft.Xappy: Runtime installed on device pixel_2_pie_9_0-_api_28 is too old. Deploy your app again with a newer version of Xamarin Studio
Xamarin Studio is now defunct, so this log message is not very helpful to me. I have attempted devices as old as API 23 (6.0 Marshmallow). Any ideas on how to get Xamarin Profiler working?
运行 com.microsoft.Xappy 时发生错误:设备 Pixel_2_pie_9_0-_api_28 上安装的运行时太旧。使用较新版本的 Xamarin Studio 再次部署您的应用程序
从错误日志来看,您可以尝试以下方法:
将您的视觉工作室更新到较新的版本。(例如最新版本)。
如果问题仍然存在,请下载新版本的 Xamarin Profiler,链接为: https: //learn.microsoft.com/en-gb/xamarin/tools/profiler/release-notes/1.6/1.6.13
| 归档时间: |
|
| 查看次数: |
1043 次 |
| 最近记录: |