xamarin-studio

“layout renderer failed” error in xamarin

末鹿安然 提交于 2019-12-10 03:37:31
问题 I have a sample Android project which is working well (can be built and installed on mobile phone). But whenever I double click on any file in the Layout folder in xamarin environment to see the layout in design mode, the following message appears. (my xamarin version is 4.0.13) I see this question but no answer was provided. Any help will be greatly appreciated. 回答1: Xamarin team have identified an issue with this in 4.0.13 and are working on a fix for it at the moment Link Until this is in

How to debug in Xamarin Studio using mono runtime on Windows

点点圈 提交于 2019-12-09 02:17:29
When I try to F5-debug in Xamarin Studio on Windows debugging starts using Microsoft.NET. Any idea how to get Xamarin to use the mono 3.2.3 which I have installed on my machine? You can add Mono to the .NET Runtimes in Tools - Options - Projects - .NET Runtimes . There you can browse to your Mono installation and add it. You then have a choice of whether to set it as the default or not. If you do not set it as the default you will not debug your application with Mono when you select Run - Start Debugging but you can run with Mono by right clicking the project in the Solution window and

Xamarin Studio not Recognizing Provisioning Profiles

℡╲_俬逩灬. 提交于 2019-12-08 15:57:40
问题 I'm at my wit's end with these apple certificates. I have a Xamarin.Forms app that I need to sign with a provisioning profile so I can enable push notifications. However, Xamarin Studio isn't recognizing any of the provisioning profiles that I'm making. Can someone please help? Xamarin Studio trying to link provisioning profiles, profile 23devpp not found: Xcode finds prov. profile 23devpp: Developer window has provisioning profile marked as active: 回答1: EDIT: Here's the solution The Bundle

Xamarin Forms control where I can show HTML formated text

夙愿已清 提交于 2019-12-08 14:43:19
问题 I'm new in Xamarin and I try to show a HTML text in a Xamarin Form control. For example, if I have the following HTML text: <ul> <li>First</li> <li>Second</li></ul> It should show the following result in the Xamarin app: First Second Is there a control for that? Thanks for any help. 回答1: WebView: You can use WebView to open an local HTML file to display it. webviewjava.BaseUrl = DependencyService.Get<IBaseUrl>().Get(); webviewjava.Source = "index.html"; **** index.html is your local HTML file

CS0117 - Xamarin not detecting 'Resources' folders and files

浪子不回头ぞ 提交于 2019-12-08 06:02:06
问题 I have been developing a Xamarin.Forms app, initially on iOS and now for Android. I have run into a problem whereby my code is unable to see the resources being referenced in my MainActivity.cs . I have the same error for two different resources. I am following along with a Udemy course and the instructor is emphasising manually building some of the xml files, hence the two types, axml and xml . First error /Users/richardcurteis/Desktop/OneDrive/DevShared/XamarinProjects/NoteTaker/Droid

How to debug in Xamarin Studio using mono runtime on Windows

南楼画角 提交于 2019-12-08 05:16:06
问题 When I try to F5-debug in Xamarin Studio on Windows debugging starts using Microsoft.NET. Any idea how to get Xamarin to use the mono 3.2.3 which I have installed on my machine? 回答1: You can add Mono to the .NET Runtimes in Tools - Options - Projects - .NET Runtimes . There you can browse to your Mono installation and add it. You then have a choice of whether to set it as the default or not. If you do not set it as the default you will not debug your application with Mono when you select Run

how to select the contact from default contact list in phone and insert it into my application in xamarin.android

拜拜、爱过 提交于 2019-12-08 05:00:27
问题 I am trying to insert the contact from my contacts in phone to my application on select, but unable to do that. on button click from my application i am able to get the list of contacts available in my phone but unable to bind that selected contact data to my application, i think i am unable to uri of the selected contact can you please check my code and suggest me the suitable solution code to do that... protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate

ERROR ITMS-90022 Missing Required Icon File

偶尔善良 提交于 2019-12-07 18:08:59
问题 I was hoping someone could help me with an issue. I was attempting to upload my app to the App Store when suddenly I received an error message stating that I had a missing icon file. The error was: ERROR ITMS-90022: "Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 7.0." I haven't modified any of my icons but I did notice that when I updated the info.plist file to change the Build Number

How to check memory leak in Xamarin.Android?

前提是你 提交于 2019-12-07 03:57:18
问题 Could anyone share suggestions or ways to check memory in the Xamarin.Android platform using Xamarin Studio? I have tried with the below option available in Xamarin Studio, Tools > Instruments > Allocations But in that, I can select only iOS devices in the options as in below image, Is there any solution for this? 回答1: Sadly, but you can't do it from Xamarin Studio in any reliable way. You can try profiler, but it requires Enterprise license. My suggestion is to use standard Android tools.

CS0117 - Xamarin not detecting 'Resources' folders and files

ぐ巨炮叔叔 提交于 2019-12-06 15:52:08
I have been developing a Xamarin.Forms app, initially on iOS and now for Android. I have run into a problem whereby my code is unable to see the resources being referenced in my MainActivity.cs . I have the same error for two different resources. I am following along with a Udemy course and the instructor is emphasising manually building some of the xml files, hence the two types, axml and xml . First error /Users/richardcurteis/Desktop/OneDrive/DevShared/XamarinProjects/NoteTaker/Droid/MainActivity.cs(35,35): Error CS0117: `NoteTaker.Droid.Resource' does not contain a definition for `Menu'