xamarin-studio

Xamarin studio “Error XA5209: Unzipping failed. Please download”

有些话、适合烂在心里 提交于 2020-03-11 08:35:29
问题 I created a new project by selecting the default theme as Appcompat.Light, then when I run the app, I'm getting this error: "Error XA5209: Unzipping failed. Please download dl-ssl.google.com/android/… and extract it to the /Users/username/.local/share/Xamarin/Xamarin.Android.Support.Vector.Drawable/23.3.0.0/content directory. (XA5209)." I haven't done anything else other than create a new project, Why am i getting this error? 回答1: The process of downloading the Android.Support.V7 or other

Xamarin studio “Error XA5209: Unzipping failed. Please download”

天大地大妈咪最大 提交于 2020-03-11 08:33:19
问题 I created a new project by selecting the default theme as Appcompat.Light, then when I run the app, I'm getting this error: "Error XA5209: Unzipping failed. Please download dl-ssl.google.com/android/… and extract it to the /Users/username/.local/share/Xamarin/Xamarin.Android.Support.Vector.Drawable/23.3.0.0/content directory. (XA5209)." I haven't done anything else other than create a new project, Why am i getting this error? 回答1: The process of downloading the Android.Support.V7 or other

Resource.Designer.cs: “Resource … does not contain a definition for …”

谁说我不能喝 提交于 2020-02-21 10:54:33
问题 today I updated the NuGet packages for our Android version (we are currently developing for Android and iOS). After the updates I cannot build the Android version anymore. This is an issue I faced everytime after updating packes so far, but this time I can't solve this problem. Usually restarting Xamarin or Reinstalling the NuGet packages helped. I have 151 error messages like this one: /Users/Username/Projects/MyAppName/Droid/Resources/Resource.designer.cs(118,118): Error CS0117: >MyAppName

Resource.Designer.cs: “Resource … does not contain a definition for …”

Deadly 提交于 2020-02-21 10:54:08
问题 today I updated the NuGet packages for our Android version (we are currently developing for Android and iOS). After the updates I cannot build the Android version anymore. This is an issue I faced everytime after updating packes so far, but this time I can't solve this problem. Usually restarting Xamarin or Reinstalling the NuGet packages helped. I have 151 error messages like this one: /Users/Username/Projects/MyAppName/Droid/Resources/Resource.designer.cs(118,118): Error CS0117: >MyAppName

“cannot find symbol: __FastDevLauncher” blocking deployment to Android Emulator

自闭症网瘾萝莉.ら 提交于 2020-02-08 06:43:25
问题 I'm porting a Windows Phone app to Android using Xamarin Studio and MonoGame. Set up has gone very smoothly, but when I try to deploy the project to the emulator, I get the following errors: C:\Users\croberts\Documents\Visual Studio 2010\Projects\Shelter_Port\Shelter_Android\Shelter_Android\obj\Debug\android\src\mono\TrialSplashScreen60e2a7ae51784c7983049dbf7b06b10c.java(101,101): Error: cannot find symbol symbol : class __FastDevLauncher location: package mono.android Intent intent = new

“cannot find symbol: __FastDevLauncher” blocking deployment to Android Emulator

谁说我不能喝 提交于 2020-02-08 06:43:06
问题 I'm porting a Windows Phone app to Android using Xamarin Studio and MonoGame. Set up has gone very smoothly, but when I try to deploy the project to the emulator, I get the following errors: C:\Users\croberts\Documents\Visual Studio 2010\Projects\Shelter_Port\Shelter_Android\Shelter_Android\obj\Debug\android\src\mono\TrialSplashScreen60e2a7ae51784c7983049dbf7b06b10c.java(101,101): Error: cannot find symbol symbol : class __FastDevLauncher location: package mono.android Intent intent = new

How pass data between two android views?

一世执手 提交于 2020-01-26 04:49:08
问题 I have a simple application that needs to do the following: From the main view the user clicks a button that launches another view. The new view is displayed and collects information from the user. Once the user clicks OK on that new view I need to "send" that data back to the originating view. The problem I am finding is that once I use StartActivity (with an intent) or SetContentView (Resource.Layout.Main) is that my data is gone. I'm putting the information I collected in a global variable

Running Selenium tests with Xamarin Studion on MAC

南笙酒味 提交于 2020-01-24 06:21:11
问题 I am trying to run my created tests on Visual Studio 2010 , using Selenium WebDriver , in a MAC using Xamarin Studio. I have chromedriver.exe as EmbeddedResource, so I removed and add the one for mac (chromedriver). Everything looks okay but doesnt allow me to run them because I see this error: OpenQA.Selenium.WebDriverException : Unexpected error. System.Net.WebException: Error: ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException: Connection refused at System.Net

Building iOS App does not update on iPhone or Simulator

大城市里の小女人 提交于 2020-01-16 06:23:41
问题 I am trying to get an iOS project started with Xamarin.iOS for Visual Studio linked to a Mac build host and connected iPhone. I have started dummy projects in Visual Studio on my PC, Xamarin Studio on the Mac, and XCode 7 on the Mac. They all share this problem. I have tried running the build on both the physical iPhone and a Simulator on the Mac. The problem persists for both despite all my efforts. The problem is this: The first version ever built of the test app is the one that runs. If I

Xamarin Forms Controls with borders

杀马特。学长 韩版系。学妹 提交于 2020-01-14 13:26:09
问题 In my Xamarin forms application I want to add borders to a Grid / StackPanel. Also the background color will be transparent. I used frame control , but when I set background color to transparent the border also not shown. Please help me? 回答1: You basically have two possibilies, since this is not yet supported in Forms, where the first is to use BoxViews as explained on SO in this post. Otherwise, you can wrap a StackLayout around your View (the StackLayout or Grid as you mentioned) with a