Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Xamarin Forms app is crashing on startup on physical device , Uploaded on Google Play Store also

$
0
0

Hi I have created Xamarin Forms Android app "Animal Sound" which was working fine in simulator in Debug / Release mode. I have uploaded same app on Google Play Store also but after installing to Physical device it is crashing on startup. I have sent system logs to the Developer Console and crashing report as mentioned

Google Play Listing :

https://play.google.com/store/apps/details?id=com.littleabcxforms.animalsound&hl=en

Crashing Report Log :

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
    ... 2 more
Caused by: android.runtime.JavaProxyThrowable: System.MissingMethodException: Method 'Android.Views.Window.SetStatusBarColor' not found.
  at AnimalSound.Droid.MainActivity.OnCreate (Android.OS.Bundle bundle) [0x00014] in <40049af7a3334166a0f516e05667bad6>:0
  at Android.Support.V4.App.FragmentActivity.n_OnCreate_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_savedInstanceState) [0x00011] in <71c3e52f1b484794bca1cdfb1b8b1fdb>:0
  at (wrapper dynamic-method) System.Object:8334c656-7275-40eb-bee6-bcbe27384e88 (intptr,intptr,intptr)
    at md59625dbb7326772b20563f173994aa8d5.MainActivity.n_onCreate(Native Method)
    at md59625dbb7326772b20563f173994aa8d5.MainActivity.onCreate(MainActivity.java:29)
    at android.app.Activity.performCreate(Activity.java:5451)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2392)
    at android.app.ActivityThread.access$900(ActivityThread.java:169)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1280)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5487)

Viewing all articles
Browse latest Browse all 77050

Trending Articles