Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all 81910 articles
Browse latest View live

PopModalAsync with older XF does not crash iOS8.1 but latest XF crashes on iOS8.1 but not iOS12.x

$
0
0

Overview

I have code that employs PopModalAsync and using Xamarin Forms v2.3.4.270 the app does NOT crash with iOS 8.1
If I take that same code and upgrade to the latest Xamarin Forms then the app DOES crash with iOS 8.1 but does not crash with iOS 12.x

Three Possible Conclusions

  1. My code has a defect
  2. Xamarin Forms has a regression defect
  3. iOS 8.1 Simulator has a defect (unfortunately I do not have the iOS 8.1 hardware)

My Ask

  • Before I open a bug report I would like to get a review of my code.
  • If Xamarin Forms has a defect are there thoughts on work-arounds. I guess the easiest workaround is to not support iOS 8.1

The Code

I placed two solutions in https://github.com/Paul-GolfingScribe/PopModalAsyncRegressionDefect

  • ToolbarPopBug - uses Xamarin Forms v2.3.4.270 and there is no crash on iOS 8.1
  • ToolbarPopBug2Crash - uses Xamarin Forms v3.3.0.967583 and throws ObjectDisposedException on iOS 8.1 but does not with iOS 12.x

I provided the two solutions to alleviate the TaskAsync issues while changing Package versions.

Here is the Class that is causing my grief:

public class GolferPage : ContentPage
{
    public GolferPage()
    {
        Label label = new Label();
        label.Text = "Using either Done button causes a crash in iOS 8.1, but not in the latest iOS.  " +
            "However using Xamarin Forms v2.3.4.270 will NOT cause a crash.";

        Button buttonDone = new Button();
        buttonDone.Text = "Done";
        buttonDone.Clicked += async (sender, e) => await DoneAsync();

        AddDoneButton();

        StackLayout stackLayout = new StackLayout
        {
            VerticalOptions = LayoutOptions.StartAndExpand,
            Padding = new Thickness(20),
            Children = {
                label,
                buttonDone
            }
        };

        Content = new ScrollView
        {
            Content = stackLayout
        };
    }

    public void AddDoneButton()
    {
        var btnDone = new ToolbarItem
        {
            Text = "Done",
            Priority = 0
        };

        btnDone.Clicked += async (sender, e) => await DoneAsync();
        ToolbarItems.Add(btnDone);
    }

    protected async Task<Page> DoneAsync()
    {
        return await Navigation.PopModalAsync();
    }
}

Thanks in advance for your time, Paul


The "XamlFiles" parameter is not supported by the "XamlGTask"

$
0
0

Hi,

I upgraded Xamarin Forms from and older version (either 2.3.3.193, 2.3.4.231, or 2.3.4.247) to 3.3.0.912540. As well, many other Nuget upgrade. The reason I did this was to upgrade to the latest forms because the camera was not working on the Android project. Android and IOS build just fine. But UWP started to give this error.

Obvious Things to Try
I have tried to delete the bin/obj/.vs folders. I have restarted, cleaned, downgraded to an older version of Forms. (still in the 3x range), etc... Nothing resolves this.

Other Things I tried
I do believe I saw a note during the Nuget upgrade of the old Forms had an error removing it completely. I did not think much of this. However, I can't help but wonder if there is a trace of the older forms. As a result, I found the folder for 2.3.3.193 in the "packages" folder. I deleted it. And this did not work either.

I also looked in the "ParlayMagic.UWP.nuget.targets" file and see the following line. I thought....YES, this is it. But when I updated it to reference "3.3.0.912540", I got 1000 errors about the forms. So I put it back.

<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
    <Import Project="$(NuGetPackageRoot)xamarin.forms\2.3.4.231\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets" Condition="Exists('$(NuGetPackageRoot)xamarin.forms\2.3.4.231\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" />
    <Import Project="$(NuGetPackageRoot)microsoft.bcl.build\1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.bcl.build\1.0.21\build\Microsoft.Bcl.Build.targets')" />
</ImportGroup>

I updated this to:

<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
    <Import Project="$(NuGetPackageRoot)xamarin.forms\3.3.0.912540\build\Xamarin.Forms.targets" Condition="Exists('$(NuGetPackageRoot)xamarin.forms\3.3.0.912540\build\Xamarin.Forms.targets')" />
    <Import Project="$(NuGetPackageRoot)microsoft.bcl.build\1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.bcl.build\1.0.21\build\Microsoft.Bcl.Build.targets')" />
</ImportGroup>

This gave me 1000s of errors.

I'm at a loss. I see others who get this, some are successful on their rebuilds. But not me. I want to support UWP as a love C# and use a Windows 10 phone. So I like building apps for others, but also that I can use. But what do I do now?

Xamarin.Forms passing form-data to a webview

$
0
0

Hi,

I have an application which has a login screen with a usernama and password field. Once the user is validated successfully I have to generate a JWT token and pass it as form-data to a webview where i will display the logged users details webpage. Is it possible to do this? If yes, how can this be done.

TIA

How to set a different color for statusBar and navBar

$
0
0

Hello everyone,

Here is a screenshot of what I'm trying to achieve.

Right now, I've a generic style which set both background and foreground color. Something like this

<Style TargetType="NavigationPage">
   <Setter Property="BarBackgroundColor" Value="{StaticResource MyBackgroundColor}" />
   <Setter Property="BarTextColor" Value="{StaticResource MyForegroundColor}" />
</Style>

It works great but I'd like to have a different status bar color than the navbar color. Is it possible from Xamarin Forms ?
If it's not, did anyone already do that with custom renderer and is willing to help me with a link or some code ?

Thanks !! Have all a good day

I need close a DisplayAlert programmatically without user interaction

$
0
0

Hi all,

Our Xamarin.Forms App show alerts using DisplayAlert ("Alert", "You have been alerted", "OK");
On session timeout We need to dismiss any open Alert.
Is it possible, to close the alert programmatically without native implementations ?

Any help would be appreciated.

Best regards

Preventing a cached page from showing on cold start

$
0
0

I'm experiencing an issue prevalent to Android in a XF project 3.1

On a cold start user can see one for a second a cached page, then the navigation continues with its logical flow. Issue is the app has some, not a lot, of conditional logic on what page to show/go to depending on user choices beforehand.

I have tried to no avail to mask the cached page, insert page before, have content to set to IsVisible = false, override on disappearing, nothing seems to prevent the page from showing briefly on a cold start.

Code sample below

                try
                {
                  ~~~~
                    var venuePage = new VenueView(venueViewModel);
                    var currentPage = MainPage.Navigation.NavigationStack.LastOrDefault();
                    await Task.Delay(1000);
                    await MainPage.Navigation.PushAsync(venuePage,false);

                }

Local notifications

$
0
0

I have a Xamarin.Forms PCL project that I am trying to get the notifications to work on both Android and iOS. I have tried wiring up the notifications on the platform side within the subscription to a message that was sent by the shared project. Is there any way to wire up notifications for any Xamarin.Forms projects that does not require connections to remote servers or services but are ran locally from the users phone or the application itself?

Problem with Xamarin Forms build. System.IO.FileNotFoundException

$
0
0

I have been successfully building my app for the past few months, but then this happened:

Severity Code Description Project File Line Suppression State Error The "LinkAssemblies" task failed unexpectedly. System.IO.FileNotFoundException: Could not load assembly 'MyApp.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile? File name: 'MyApp.Android.dll' at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.GetAssembly(String fileName) at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res) at Xamarin.Android.Tasks.LinkAssemblies.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() MyApp.Android

I think it was the latest Visual Studio 2017 Community update that killed it, but I can't be sure. All I'm sure is that it was working before, then after a few days and trying it again, it failed (without changes being made to the code or any setting). I have tried setting the linker to "None" but it still isn't building. I have tried updating to the latest Xamarin.Forms nuget, still nothing. I tried nuking my .nuget/packages folder, same error after the download refresh completed.

Has anyone encountered this? Help!


Could not determine API level for $(TargetFrameworkVersion) of 'v8.1'

$
0
0

Getting following error when rebuilding xamarin forms android project.

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2,2): Error XA0000: Could not determine API level for $(TargetFrameworkVersion) of 'v8.1'. (XA0000) (Myproject.Android)

Found the same issue in some other threads. The solution on there is open .csproj file and change AndroidUseLatestPlatformSdk from True to False, and rebuild. I found this solution on here and here.

But I don't know which .csproj file need to modify? Can some one tell it more clearly?

Tabbed Page Tabs issue

$
0
0

Have called a navigation page from page inside tabbed page, but tabs are visible on 3rd page also, want to hide or remove tabs from 3rd page

Access to local/external files

$
0
0

Hi,

i want to read and write csv-files on a local/external storage. Unfortunately my does not find the file. I Think it's because the app has no acess to the local storage.
I try the following code (in Package.appxmanifest), but it is not working...

<Package
  ...
  xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
  IgnorableNamespaces="uap mp uap5 rescap">
...
<Capabilities>
    <rescap:Capability Name="broadFileSystemAccess" />
</Capabilities>`

Xamarin project opens up with error: Could not load file or assembly 'System.Collections.Immutable'

$
0
0

I'm working in a github cloned Xamarin project. When I open up the project it displays the following error:

Severity    Code    Description Project File    Line    Suppression State
Error       Could not load file or assembly 'System.Collections.Immutable, Version=1.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)    ProjectName C:\Users\USER\.nuget\packages\refit\4.6.30\build\netstandard1.4\refit.targets   29  

I've tried cleaning the project, deleting the bin/obj folders and I've cleared my nuget packages and restored. All of these solutions didn't work and when trying to rebuild the project it displays another error:

Severity    Code    Description Project File    Line    Suppression State
Error       The "ResolveLibraryProjectImports" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load assembly 'ProjectName, Version=0.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'ProjectName.dll'
   at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
   at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(String fullName)
   at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Extract(DirectoryAssemblyResolver res, ICollection`1 jars, ICollection`1 resolvedResourceDirectories, ICollection`1 resolvedAssetDirectories, ICollection`1 resolvedEnvironments)
   at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() ProjectName.Android         

I'm using Visual Studio Community 2017 version 15.8.8 and Xamarin.Forms 2.5.0.280555

The project that I'm working on works on other pc's from co-workers so I think it has to do with my VS installation. I tried to reinstall VS but this resulted in the same errors.

Xamarin Forms iOS (Apply Custom Font)

$
0
0

i'm using vs2017
xamarin.forms 3.4
.net standard


i'm using font (DroidKufi-Regular.ttf)
*** it works perfectly excellent in Android
BUT ..........
in iOS it doesn't works at all


steps :smile:
add font to resources >>>> bundle resources
add font to info.plist
add font to App.xaml
what's the wrong ????????????????

Refreshing a Form

$
0
0

Hi,
Im trying to create an input form with a table view. When you click a switch cell, it closes some of the entry cells on the page, as they are no longer applicable. Im struggling to do this though. I can't seem to make the table view refresh itself. I don't really think it would be possible to use a list view as there are some many different custom view cells im using.

What should I do? How can i reload the table view?

(MvvmCross.Logging.MvxLog) No view model association found for candidate view RootActivity

$
0
0

I'm having a problem with binding in MvvmCross and Xamarin Forms. When I'm navigating from my MainViewModel to FileInfoViewModel, I'm getting following error:

(MvvmCross.Logging.MvxLog) No view model association found for candidate view RootActivity

I have used MvvmCross setup like described in article: Build a Xamarin.Forms Application with MvvmCross (https: //visualstudiomagazine.com/articles/2018/05/08/build-a-xamarin.forms-application.aspx)

On stackoverflow (https: //stackoverflow.com/questions/53222397/mvvmcross-logging-mvxlog-no-view-model-association-found-for-candidate-view-ro) is detail explanation of my problem.

p.s. Remove blak space from urls, because I'm getting error "You have to be around for a little while longer before you can post links."

I have attachet test project with problem I'm issuing.

I would apreciate help on this because I'm spinning in circles for few days now.

Thanks


Declare a DictionaryEntry in XAML

$
0
0

Hello,

I am attempting to build a Dictionary in XAML but I'm having a few issues.
I have tried to use ArrayList and adding DictionaryEntry but the when this value is retrieved the dictionary Entry give an error
<collections:ArrayList x:Key="GroupConversions" >
<collections:DictionaryEntry Key="bla" Value ="bla"/>
</collections:ArrayList>

I have also tried a HashTable but I cannot even add values to this in XAML as it doesn't contain a ContentPropertyAttribute.
<collections:HashTable x:Key="GroupConversions" >
<collections:DictionaryEntry Key="bla" Value ="bla"/>
</collections:ArrayList>

I know this is easy enough to create in the ViewModel or the code behind, but I would like to do this in XAML only.

Thanks for the help
Joe

How to create Multiple splash screens depend on conditions ?

$
0
0

I wondered if it is possible to create Multiple splash screens (Android , IOS) which displayed according to user state for example
switch (splash)
{
case one
// show splash one
case two
//show splash two
}

is it possible ? or any sample for this ?

I think if i can change Main interface in ios from code it will works fine

Android App Crashing

$
0
0

I updated to the prelease version of Xamarin.Forms 2.3.5.256-pre6 to take advantage of the .netstandard goodness and tested my app on android and it's blowing up. I cleared out my bin and obj folders for good measure and that did not help. I also tried running on android 7 & 6, and I'm seeing the same behavior.

07-27 07:28:14.262 E/mono ( 5787): Unhandled Exception:
07-27 07:28:14.262 E/mono ( 5787): Java.Lang.NoSuchMethodError: no static method "Lcom/xamarin/forms/platform/android/FormsViewGroup;.sendViewBatchUpdate(Landroid/view/View;FFIZFFFFFFF)V"
07-27 07:28:14.262 E/mono ( 5787): --- End of managed Java.Lang.NoSuchMethodError stack trace ---
07-27 07:28:14.262 E/mono ( 5787): java.lang.NoSuchMethodError: no static method "Lcom/xamarin/forms/platform/android/FormsViewGroup;.sendViewBatchUpdate(Landroid/view/View;FFIZFFFFFFF)V"
07-27 07:28:14.262 E/mono ( 5787): at md5b60ffeb829f638581ab2bb9b1a7f4f3f.VisualElementTracker_AttachTracker.n_onViewAttachedToWindow(Native Method)
07-27 07:28:14.262 E/mono ( 5787): at md5b60ffeb829f638581ab2bb9b1a7f4f3f.VisualElementTracker_AttachTracker.onViewAttachedToWindow(VisualElementTracker_AttachTracker.java:31)
07-27 07:28:14.262 E/mono ( 5787): at android.view.View.dispatchAttachedToWindow(View.java:13727)
07-27 07:28:14.262 E/mono ( 5787): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2841)
07-27 07:28:14.262 E/mono ( 5787): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2841)
07-27 07:28:14.262 E/mono ( 5787): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2841)
07-27 07:28:14.262 E/mono ( 5787): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2841)
07-27 07:28:14.262 E/mono ( 5787): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2841)
07-27 07:28:14.262 E/mono ( 5787): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2841)
07-27 07:28:14.262 E/mono ( 5787): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2841)
07-27 07:28:14.262 E/mono ( 5787): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2841)
07-27 07:28:14.262 E/mono ( 5787): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2841)
07-27 07:28:14.262 E/mono ( 5787): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1551)
07-27 07:28:14.262 E/mono ( 5787): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1292)
07-27 07:28:14.262 E/mono ( 5787): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6598)
07-27 07:28:14.262 E/mono ( 5787): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:800)
07-27 07:28:14.262 E/mono ( 5787): at android.view.Choreographer.doCallbacks(Choreographer.java:603)
07-27 07:28:14.262 E/mono ( 5787): at android.view.Choreographer.doFrame(Choreographer.java:572)
07-27 07:28:14.262 E/mono ( 5787): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:786)
07-27 07:28:14.262 E/mono ( 5787): at android.os.Handler.handleCallback(Handler.java:815)
07-27 07:28:14.262 E/mono ( 5787): at android.os.Handler.dispatchMessage(Handler.java:104)
07-27 07:28:14.262 E/mono ( 5787): at android.os.Looper.loop(Looper.java:194)
07-27 07:28:14.262 E/mono ( 5787): at android.app.ActivityThread.main(ActivityThread.java:5631)
07-27 07:28:14.262 E/mono ( 5787): at java.lang.reflect.Method.invoke(Native Method)
07-27 07:28:14.262 E/mono ( 5787): at java.lang.reflect.Method.invoke(Method.java:372)
07-27 07:28:14.262 E/mono ( 5787): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
07-27 07:28:14.262 E/mono ( 5787): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)

Error after update Xamarin.Forms from 2.3.4.267 to 3.3.0.967583

$
0
0

Hello how are you? i hope very well...
I have a project in Xamarin Forms that did another person... when i try to update Xamarin.Forms package and all is ok until deploy to the cellphone, i mean, the code build.
When i click on run on cellphone, throw the next exception many times. I tryed to search Gradient, RoundRect, etc in the solution but i couldnt found...

Do you have any recommendation or something thay i can do? Really im lost, because before update the version its working.

11-12 21:24:08.541 E/mono-rt ( 3858): [ERROR] FATAL UNHANDLED EXCEPTION: Java.Lang.ClassCastException: android.graphics.drawable.GradientDrawable cannot be cast to android.support.v7.widget.RoundRectDrawable
11-12 21:24:08.541 E/mono-rt ( 3858):   at Java.Interop.JniEnvironment+InstanceMethods.CallNonvirtualFloatMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method) [0x00088] in <034d4a9852dd45bea9353cc7776c99f0>:0 
11-12 21:24:08.541 E/mono-rt ( 3858):   at Android.Runtime.JNIEnv.CallNonvirtualFloatMethod (System.IntPtr jobject, System.IntPtr jclass, System.IntPtr jmethod) [0x00000] in /Users/builder/data/lanes/6090/a8a3b0ec/source/monodroid/external/xamarin-android/src/Mono.Android/Android.Runtime/JNIEnv.g.cs:402 
11-12 21:24:08.541 E/mono-rt ( 3858):   at Android.Support.V7.Widget.CardView.get_Radius () [0x0007a] in <339f6e0ca031491c8ef21eae022bacdf>:0 
11-12 21:24:08.541 E/mono-rt ( 3858):   at Xamarin.Forms.Platform.Android.FastRenderers.FrameRenderer.UpdateCornerRadius () [0x00016] in D:\a\1\s\Xamarin.Forms.Platform.Android\FastRenderers\FrameRenderer.cs:282 
11-12 21:24:08.541 E/mono-rt ( 3858):   at Xamarin.Forms.Platform.Android.FastRenderers.FrameRenderer.OnElementChanged (Xamarin.Forms.Platform.Android.ElementChangedEventArgs`1[TElement] e) [0x000c7] in D:\a\1\s\Xamarin.Forms.Platform.Android\FastRenderers\FrameRenderer.cs:190 
11-12 21:24:08.541 E/mono-rt ( 3858):   at Xamarin.Forms.Platform.Android.FastRenderers.FrameRenderer.set_Element (Xamarin.Forms.Frame value) [0x00018] in D:\a\1\s\Xamarin.Forms.Platform.Android\FastRenderers\FrameRenderer.cs:61 
11-12 21:24:08.541 E/mono-rt ( 3858):   at Xamarin.Forms.Platform.Android.FastRenderers.FrameRenderer.Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00015] in D:\a\1\s\Xamarin.Forms.Platform.Android\FastRenderers\FrameRenderer.cs:82 
11-12 21:24:08.541 E/mono-rt ( 3858):   at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element, Android.Content.Context context) [0x0001f] in D:\a\1\s\Xamarin.Forms.Platform.Android\Platform.cs:330 
11-12 21:24:08.541 E/mono-rt ( 3858):   at Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild (Xamarin.Forms.VisualElement view, Xamarin.Forms.Platform.Android.IVisualElementRenderer oldRenderer, Xamarin.Forms.Platform.Android.RendererPool pool, System.Boolean sameChildren) [0x000af] in D:\a\1\s\Xamarin.Forms.Platform.Android\VisualElementPackager.cs:120 
11-12 21:24:08.541 E/mono-rt ( 3858):   at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x00139] in D:\a\1\s\Xamarin.Forms.Platform.Android\VisualElementPackager.cs:268 
11-12 21:24:08.541 E/mono-rt ( 3858):   at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x00000] in D:\a\1\s\Xamarin.Forms.Platform.Android\VisualElementPackager.cs:92 
11-12 21:24:08.541 E/mono-rt ( 3858):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00007] in D:\a\1\s\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:389 
11-12 21:24:08.541 E/mono-rt ( 3858):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x000f2] in D:\a\1\s\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:214 
11-12 21:24:08.541 E/mono-rt ( 3858):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in D:\a\1\s\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:125 
11-12 21:24:08.541 E/mono-rt ( 3858):   at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element, Android.Content.Context context) [0x0001f] in D:\a\1\s\Xamarin.Forms.Platform.Android\Platform.cs:330 
11-12 21:24:08.541 E/mono-rt ( 3858):   at Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild (Xamarin.Forms.VisualElement view, Xamarin.Forms.Platform.Android.IVisualElementRenderer oldRenderer, Xamarin.Forms.Platform.Android.RendererPool pool, System.Boolean sameChildren) [0x000af] in D:\a\1\s\Xamarin.Forms.Platform.Android\VisualElementPackager.cs:120 
11-12 21:24:08.541 E/mono-rt ( 3858):   at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x00139] in D:\a\1\s\Xa

when my app start it takes 15 seconds to start !!

$
0
0

hi, my app start its very long, I have a splash screen with a message but, 15 seconds it to much!! after that it's working okey.
Maybe I using many nugget package and that make it slow init()?? some body can healp me?? ideas?

Viewing all 81910 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>