syncfusion / xamarin-showcase-emi-calculator

This repository contains a cross-platform demo application built using Xamarin.Forms and Syncfusion controls. This app helps users to calculate EMI for the given principal, interest and tenure.
65 stars 36 forks source link

Set IContainer threw an exception #7

Open rgrastur opened 4 years ago

rgrastur commented 4 years ago

I have an exception in this line in ViewModelLocator.cs when launch the App in my device. container = containerBuilder?.Build();

image

image

StackTrace: at (wrapper managed-to-native) System.Object.icall_wrapper_mono_generic_class_init(intptr) at LoanCalculator.Droid.MainActivity.OnCreate (Android.OS.Bundle bundle) [0x00056] in C:\Users\glezr\source\repos\xamarin-showcase-emi-calculator\LoanCalculator.Android\MainActivity.cs:26 at Android.App.Activity.n_OnCreate_Landroid_osBundle (System.IntPtr jnienv, System.IntPtr nativethis, System.IntPtr native_savedInstanceState) [0x00011] in :0 at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.3(intptr,intptr,intptr)

Any idea what am I doing wrong?

My device: Xiaomi Redmi Note 5 - Android 9.0 Visual Studio Community 2019 16.4.4

YuvarajPalanisamy commented 4 years ago

Hi Rubén González Rodríguez,

We regret for inconvenience caused.

We have analyzed your reported problem and we were able to replicate the same in Visual Studio 2019. We are analyzing the root cause for this problem. We will fix and let you know the status on or before 10th Feb 2020.

Note: We would like to inform that the application is working fine in Visual Studio 2017.

Regards, Yuvaraj

YuvarajPalanisamy commented 4 years ago

Hi Rubén González Rodríguez,

Thank you for your patience.

We have fixed the Loan calculator application crash issue in Visual studio 2019. Please pull or download the source code and run the application.

Please let us know if you have any concern.

Regards, Yuvaraj

rgrastur commented 4 years ago

Hi again YuvarajPalanisamy

I download your new source code and it give me an exception at this point, same file as before: image

image

StackTrace: at (wrapper managed-to-native) System.Object.icall_wrapper_mono_generic_class_init(intptr) at LoanCalculator.Droid.MainActivity.OnCreate (Android.OS.Bundle bundle) [0x0004b] in C:\Users\glezr\Source\Repos\xamarin-showcase-emi-calculator\LoanCalculator.Android\MainActivity.cs:25 at Android.App.Activity.n_OnCreate_Landroid_osBundle (System.IntPtr jnienv, System.IntPtr nativethis, System.IntPtr native_savedInstanceState) [0x00011] in :0 at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.3(intptr,intptr,intptr)

Thank you for your time.

YuvarajPalanisamy commented 4 years ago

Hi Rubén González Rodríguez,

Sorry for the inconvenience.

Due to the Android Link mode the application has been crashed. Now we have fixed the Loan calculator application crash issue. Please pull or download the source code and run the application.

Please let us know if you have any concern.

Regards, Yuvaraj

AgentLocator commented 2 years ago

I am getting this error as well on a build that was pulled today:

image