I am currently running into an issue where my debug build of an app functions just fine but when I build it out in release, the app crashes. Below is the error given. One thing someone suggested was to look at the linking option. I have and both builds are linking sdk assemblies only.
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): [Error] Exception { Message: "CurrentDomainOnUnhandledException", Data: [], InnerException: RuntimeException { JniPeerMembers: XAPeerMembers { ManagedPeerType: Java.Lang.RuntimeException, JniPeerTypeName: "java/lang/RuntimeException", JniPeerType: JniType { PeerReference: JniObjectReference { Handle: IntPtr { }, Type: Global, IsValid: True } }, InstanceMethods: JniInstanceMethods { }, InstanceFields: JniInstanceFields { }, StaticMethods: JniStaticMethods { }, StaticFields: JniStaticFields { } }, StackTrace: "
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): --- End of managed Java.Lang.RuntimeException stack trace ---
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.testco.android.testapp/md52383f3bfe5cb92264ccfe16c72588a4e.MainActivity}: android.content.res.Resources$NotFoundException: File ModernHttpClient.Android from drawable resource ID #0x7f080051: .xml extension required
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.app.ActivityThread.-wrap11(ActivityThread.java)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.os.Handler.dispatchMessage(Handler.java:102)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.os.Looper.loop(Looper.java:148)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.app.ActivityThread.main(ActivityThread.java:5417)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at java.lang.reflect.Method.invoke(Native Method)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): Caused by: android.content.res.Resources$NotFoundException: File ModernHttpClient.Android from drawable resource ID #0x7f080051: .xml extension required
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.content.res.Resources.loadColorStateListForCookie(Resources.java:2758)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.content.res.Resources.loadColorStateList(Resources.java:2699)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.content.res.Resources.getColor(Resources.java:976)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.content.Context.getColor(Context.java:441)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.support.v4.content.ContextCompatApi23.getColor(ContextCompatApi23.java:32)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.support.v4.content.ContextCompat.getColor(ContextCompat.java:432)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.support.design.widget.TextInputLayout.setErrorEnabled(TextInputLayout.java:628)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at md52383f3bfe5cb92264ccfe16c72588a4e.MainActivity.n_onCreate(Native Method)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at md52383f3bfe5cb92264ccfe16c72588a4e.MainActivity.onCreate(MainActivity.java:30)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.app.Activity.performCreate(Activity.java:6237)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): ... 9 more
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): ", PeerReference: JniObjectReference { Handle: IntPtr { }, Type: Global, IsValid: True }, Handle: IntPtr { }, LocalizedMessage: "Unable to start activity ComponentInfo{com.testco.android.testapp/md52383f3bfe5cb92264ccfe16c72588a4e.MainActivity}: android.content.res.Resources$NotFoundException: File ModernHttpClient.Android from drawable resource ID #0x7f080051: .xml extension required", Message: "Unable to start activity ComponentInfo{com.testco.android.testapp/md52383f3bfe5cb92264ccfe16c72588a4e.MainActivity}: android.content.res.Resources$NotFoundException: File ModernHttpClient.Android from drawable resource ID #0x7f080051: .xml extension required", Data: [], InnerException: RuntimeException { JniPeerMembers: XAPeerMembers { ManagedPeerType: Java.Lang.RuntimeException, JniPeerTypeName: "java/lang/RuntimeException", JniPeerType: JniType { PeerReference: JniObjectReference { Handle: IntPtr { }, Type: Global, IsValid: True } }, InstanceMethods: JniInstanceMethods { }, InstanceFields: JniInstanceFields { }, StaticMethods: JniStaticMethods { }, StaticFields: JniStaticFields { } }, StackTrace: " at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <4baa936e3c434e3ba112aa790597bb76>:0
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): at Java.Interop.JniEnvironment+InstanceMethods.CallVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00069] in <fc
04-30 11:33:39.799: E/TestApp.Mobile.Droid.MainActivity(3177): --------- beginning of crash
04-30 11:33:39.800: E/AndroidRuntime(3177): FATAL EXCEPTION: main
04-30 11:33:39.800: E/AndroidRuntime(3177): Process: com.testco.android.testapp, PID: 3177
04-30 11:33:39.800: E/AndroidRuntime(3177): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.testco.android.testapp/md52383f3bfe5cb92264ccfe16c72588a4e.MainActivity}: android.content.res.Resources$NotFoundException: File ModernHttpClient.Android from drawable resource ID #0x7f080051: .xml extension required
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.app.ActivityThread.-wrap11(ActivityThread.java)
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.os.Handler.dispatchMessage(Handler.java:102)
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.os.Looper.loop(Looper.java:148)
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.app.ActivityThread.main(ActivityThread.java:5417)
04-30 11:33:39.800: E/AndroidRuntime(3177): at java.lang.reflect.Method.invoke(Native Method)
04-30 11:33:39.800: E/AndroidRuntime(3177): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
04-30 11:33:39.800: E/AndroidRuntime(3177): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
04-30 11:33:39.800: E/AndroidRuntime(3177): Caused by: android.content.res.Resources$NotFoundException: File ModernHttpClient.Android from drawable resource ID #0x7f080051: .xml extension required
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.content.res.Resources.loadColorStateListForCookie(Resources.java:2758)
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.content.res.Resources.loadColorStateList(Resources.java:2699)
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.content.res.Resources.getColor(Resources.java:976)
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.content.Context.getColor(Context.java:441)
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.support.v4.content.ContextCompatApi23.getColor(ContextCompatApi23.java:32)
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.support.v4.content.ContextCompat.getColor(ContextCompat.java:432)
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.support.design.widget.TextInputLayout.setErrorEnabled(TextInputLayout.java:628)
04-30 11:33:39.800: E/AndroidRuntime(3177): at md52383f3bfe5cb92264ccfe16c72588a4e.MainActivity.n_onCreate(Native Method)
04-30 11:33:39.800: E/AndroidRuntime(3177): at md52383f3bfe5cb92264ccfe16c72588a4e.MainActivity.onCreate(MainActivity.java:30)
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.app.Activity.performCreate(Activity.java:6237)
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
04-30 11:33:39.800: E/AndroidRuntime(3177): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
04-30 11:33:39.800: E/AndroidRuntime(3177): ... 9 more