0
I have a problem. my application works in debug however, in release it opens the splash screen and closes presenting an error on the screen: "application stopped" below this the output application. can help me?
Androidruntime] at android.app.Activitythread.main(Activitythread.java:6692) [Androidruntime] ... 3 more [Error] ERR: exClass=android.runtime.Javaproxythrowable [Error] ERR: exMsg=System.Typeinitializationexception: The type initializer for 'Ffimageloading.Forms.Cachedimage' threw an Exception. ---> System.Typeloadexception: Failure has occurred while loading a type. [Error] at Ffimageloading.Forms.Cachedimage.. cctor () [0x00247] in <41880298d32a47e6b90f5730cb0eb675>:0 [Error] --- End of Inner Exception stack trace --- [Error] at (wrapper Managed-to-Native) System.Reflection.Monofield:Getvalueinternal (System.Reflection.Monofield,Object) [Error] at System.Reflection.Monofield.Getvalue (System.Object obj) [0x0005e] in <3fd174ff54b146228c505f23cf75ce71>:0 [Error] at Xamarin.Forms.Bindablepropertyconverter.Convertfrom (System.Type type type, System.String propertyName, System.xml.Ixmllineinfo lineinfo) [0x00057] in <0f1ce60dbc6b4e24af01294c7acf41c6>:0 [Error] at Xamarin.Forms.Bindablepropertyconverter.Xamarin.Forms.IExtendedTypeConverter.Convertfrominvariantstring (System.String value, System.Iserviceprovider serviceProvider) [0x0015c] in <0f1ce60dbc6b4e24af01294c7acf41c6>:0 [Error] at Xamarin.Forms.Xaml.TypeConversionExtensions.Convertto (System.Object value, System.Type toType, System.Func
1[TResult] getConverter, System.IServiceProvider serviceProvider) [0x00034] in <e53fc7074dab4ad8bba89c7f3e14cbfc>:0 [Error] at Xamarin.Forms.Xaml.TypeConversionExtensions.ConvertTo (System.Object value, System.Type toType, System.Func
1[Tresult] minfoRetriever, System.Iserviceprovider serviceProvider) [0x00021] in :0 [Error] at Xamarin.Forms.Xaml.ApplyPropertiesVisitor.TrySetProperty (System.Object element, System.String localName, System.Object value, System.xml.Ixmllineinfo lineInfo, Xamarin.Forms.Xaml.Internals.XamlServiceProvider serviceProvider, System.Exception& Exception) [0x00067] in :0 [Error] at Xamarin.Forms.Xaml.ApplyPropertiesVisitor.SetPropertyValue (System.Object xamlelement, Xamarin.Forms.Xaml.Xmlname propertyName, System.Object value, System.Object rootElement, Xamarin.Forms.Xaml.Inode Node, Xamarin.Forms.Xaml.Hydratationcontext context, System.xml.Ixmllineinfo lineInfo) [0x00090] in :0 [Error] at Xamarin.Forms.Xaml.ApplyPropertiesVisitor.Visit (Xamarin.Forms.Xaml.Valuenode Node, Xamarin.Forms.Xaml.Inode parentNode) [0x00085] in :0 [Error] At Xamarin.Forms.Xaml.ValueNode.Accept (Xamarin.Forms.Xaml.Ixamlnodevisitor Visitor, Xamarin.Forms.Xaml.Inode parentNode) [0x00000] in :0 [Error] At Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.Ixamlnodevisitor Visitor, Xamarin.Forms.Xaml.Inode parentNode) [0x00054] in :0 [Error] At Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.Ixamlnodevisitor Visitor, Xamarin.Forms.Xaml.Inode parentNode) [0x00089] in :0 [Error] At Xamarin.Forms.Xaml.FillResourceDictionariesVisitor.Visit (Xamarin.Forms.Xaml.Elementnode Node, Xamarin.Forms.Xaml.Inode parentNode) [0x000b5] in :0 [Error] At Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.Ixamlnodevisitor Visitor, Xamarin.Forms.Xaml.Inode parentNode) [0x00008] in :0 [Error] At Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.Ixamlnodevisitor Visitor, Xamarin.Forms.Xaml.Inode parentNode) [0x00089] in :0 [Error] At Xamarin.Forms.Xaml.RootNode.Accept (Xamarin.Forms.Xaml.Ixamlnodevisitor Visitor, Xamarin.Forms.Xaml.Inode parentNode) [0x00054] in :0 [Error] At Xamarin.Forms.Xaml.XamlLoader.Visit (Xamarin.Forms.Xaml.Rootnode rootnode, Xamarin.Forms.Xaml.Hydratationcontext visitorContext) [0x00074] in :0 [error] at Xamarin.Forms.Xaml.XamlLoader.Load (System.Object view, System.String xaml) [0x0005d] in :0 [Error] at Xamarin.Forms.Xaml.XamlLoader.Load (System.Object view, System.Type callingType) [0x0002f] in :0 [Error] at Xamarin.Forms.Xaml.Extensions.Loadfromxaml[Txaml] (Txaml view, System.Type [Error] ERR: file=Mainactivity.java [Error] ERR: class=md542a436044c1c4af0a9ebc2e2c58d67d3.Mainactivity [Error] ERR: method=n_onCreate line=-2 [Error] ERR: stack=java.lang.Runtimeexception: java.lang.reflect.Invocationtargetexception [Error] at com.android.Internal.os.Zygoteinit.main(Zygoteinit.java:1358) [Error] Caused by: java.lang.reflect.Invocationtargetexception [Error] at java.lang.reflect.Method.invoke(Native Method) [Error] at com.android.Internal.os.Zygoteinit$Methodandargscaller.run(Zygoteinit.java:1468) [Error] ... 1 more [Error] Caused by: android.runtime.Javaproxythrowable: System.Typeinitializationexception: The type initializer for 'Ffimageloading.Forms.Cachedimage' threw an Exception. ---> System.Typeloadexception: Failure has occurred while loading a type. [Error] at Ffimageloading.Forms.Cachedimage.. cctor () [0x00247] in <41880298d32a47e6b90f5730cb0eb675>:0 [Error] --- End of Inner Exception stack trace --- [Error] at (wrapper Managed-to-Native) System.Reflection.Monofield:Getvalueinternal (System.Reflection.Monofield,Object) [Error] at System.Reflection.Monofield.Getvalue (System.Object obj) [0x0005e] in <3fd174ff54b146228c505f23cf75ce71>:0 [Error] at Xamarin.Forms.Bindablepropertyconverter.Convertfrom (System.Type type type, System.String propertyName, System.xml.Ixmllineinfo lineinfo) [0x00057] in <0f1ce60dbc6b4e24af01294c7acf41c6>:0 [Error] at Xamarin.Forms.Bindablepropertyconverter.Xamarin.Forms.IExtendedTypeConverter.Convertfrominvariantstring (System.String value, System.Iserviceprovider serviceProvider) [0x0015c] in <0f1ce60dbc6b4e24af01294c7acf41c6>:0 [Error] at Xamarin.Forms.Xaml.TypeConversionExtensions.Convertto (System.Object value, System.Type toType, System.Func1[TResult] getConverter, System.IServiceProvider serviceProvider) [0x00034] in <e53fc7074dab4ad8bba89c7f3e14cbfc>:0 [Error] at Xamarin.Forms.Xaml.TypeConversionExtensions.ConvertTo (System.Object value, System.Type toType, System.Func
1[Tresult] minfoRetriever, System.Iserviceprovider serviceProvider) [0x00021] in :0 [Error] at Xamarin.Forms.Xaml.ApplyPropertiesVisitor.TrySetProperty (System.Object element, System.String localName, System.Object value, System.xml.Ixmllineinfo lineInfo, Xamarin.Forms.Xaml.Internals.XamlServiceProvider serviceProvider, System.Exception& Exception) [0x00067] in :0 [Error] at Xamarin.Forms.Xaml.ApplyPropertiesVisitor.SetPropertyValue (System.Object xamlelement, Xamarin.Forms.Xaml.Xmlname propertyName, System.Object value, System.Object rootElement, Xamarin.Forms.Xaml.Inode Node, Xamarin.Forms.Xaml.Hydratationcontext context, System.xml.Ixmllineinfo lineInfo) [0x00090] in :0 [Error] at Xamarin.Forms.Xaml.ApplyPropertiesVisitor.Visit (Xamarin.Forms.Xaml.Valuenode Node, Xamarin.Forms.Xaml.Inode parentNode) [0x00085] in :0 [Error] At Xamarin.Forms.Xaml.ValueNode.Accept (Xamarin.Forms.Xaml.Ixamlnodevisitor Visitor, Xamarin.Forms.Xaml.Inode parentNode) [0x00000] in :0 [Error] At Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.Ixamlnodevisitor Visitor, Xamarin.Forms.Xaml.Inode parentNode) [0x00054] in :0 [Error] At Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.Ixamlnodevisitor Visitor, Xamarin.Forms.Xaml.Inode parentNode) [0x00089] in :0 [Error] At Xamarin.Forms.Xaml.FillResourceDictionariesVisitor.Visit (Xamarin.Forms.Xaml.Elementnode Node, Xamarin.Forms.Xaml.Inode parentNode) [0x000b5] in :0 [Error] At Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.Ixamlnodevisitor Visitor, Xamarin.Forms.Xaml.Inode parentNode) [0x00008] in :0 [Error] At Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.Ixamlnodevisitor Visitor, Xamarin.Forms.Xaml.Inode parentNode) [0x00089] in :0 [Error] At Xamarin.Forms.Xaml.RootNode.Accept (Xamarin.Forms.Xaml.Ixamlnodevisitor Visitor, Xamarin.Forms.Xaml.Inode parentNode) [0x00054] in :0 [Error] At Xamarin.Forms.Xaml.XamlLoader.Visit (Xamarin.Forms.Xaml.Rootnode rootnode, Xamarin.Forms.Xaml.Hydratationcontext)
Behold This SO-en response. Possible causes
1 - Sem internet
|2 - Horario errado
, etc. @Otavio-Alfenas– rubStackOverflow
Hello @rubStackOverflow, thank you for replying. include internet and permissions I use in the manifest: <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.notinica" android:installLocation="auto"> <uses-sdk android:minSdkVersion="15" android:targetSdkVersion="23" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
– Otavio Alfenas
If you are supplementing the question, add this information by editing your question.
– rubStackOverflow