2017-08-02 57 views
0

我將xamarin.forms升級到2.3.4.247版本後,崩潰了。這是我第一次升級我的xamarin.forms。我不知道這次事故。有人可以幫忙嗎?由於更新Xamarin.forms

enter image description here

+0

看來,LoginScreen Xaml文件中出現了錯誤。你能分享你的登錄屏幕xaml文件嗎? –

+0

我看到您的[問題](https://forums.xamarin.com/discussion/100541/system-argumentexception-has-been-thrown-an-item-with-the-same-key-already-been-added) ,因爲'System.ArgumentException已被拋出一個項目已添加相同的密鑰'不能再次播放,你有什麼新問題? –

+0

關於「System.ArgumentException已被拋出一個項目已添加相同的密鑰」它已經完成,但只是運行在我的設備IOS然後在設備Android它不工作。那怎麼樣?有人可以幫忙嗎? –

回答

0
<?xml version="1.0" encoding="UTF-8"?> 
<custom:MasterPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="DutchWallet.LoadingScreen" xmlns:custom="clr-namespace:DutchWallet;assembly=DutchWallet" xmlns:i18n="clr-namespace:DutchWallet.Localization;assembly=DutchWallet"> 
    <custom:MasterPage.Content> 
     <AbsoluteLayout VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"> 
      <Image AbsoluteLayout.LayoutFlags="All" AbsoluteLayout.LayoutBounds="0, 0, 1, 1" Source="Images/background" Aspect="AspectFill" /> 
      <Label x:Name="WelcomeToLabel" Text="{i18n:Translate LoadingScreen_WelcomeTo}" AbsoluteLayout.LayoutFlags="All" AbsoluteLayout.LayoutBounds="0, 0.18, 1, .1" HorizontalTextAlignment="Center" LineBreakMode="WordWrap" FontFamily="Open Sans" FontAttributes="Bold" TextColor="White" FontSize="42" /> 
      <Label Text="{i18n:Translate LoadingScreen_DucthWallet}" AbsoluteLayout.LayoutFlags="All" AbsoluteLayout.LayoutBounds="0, 0.28, 1, .1" HorizontalTextAlignment="Center" LineBreakMode="WordWrap" FontFamily="Open Sans" FontAttributes="Bold" TextColor="White" FontSize="42" /> 
      <Image AbsoluteLayout.LayoutFlags="All" AbsoluteLayout.LayoutBounds="0.50, 0.55, .5, .5" Source="Icons/logo" Aspect="AspectFit"> 
       <Image.AbsoluteLayout.LayoutBounds> 
        <OnPlatform x:TypeArguments="Rectangle" iOS="0.50, 0.55, .5, .5" Android="0.50, 0.55, .4, .5" /> 
       </Image.AbsoluteLayout.LayoutBounds> 
      </Image> 
      <Label x:Name="VersionLabel" AbsoluteLayout.LayoutFlags="All" AbsoluteLayout.LayoutBounds="0, 0.75, 1, .1" HorizontalTextAlignment="Center" LineBreakMode="WordWrap" FontFamily="Open Sans" FontAttributes="Bold" TextColor="White" Text="Version x.x" FontSize="14" /> 
     </AbsoluteLayout> 
    </custom:MasterPage.Content> 
</custom:MasterPage> 

也許這XAML是什麼意思?

0

您是否嘗試過清理解決方案,然後重新構建它?你有什麼嘗試?

+0

是的,我嘗試了它..它在IOS設備上運行,但在Android設備仍然崩潰。 –

相關問題