Xamarin.Android using MvvmCross crashes on Activity launch
<p>I am currently developing a Xamarin app and all of a sudden my Android app started crashing on LoginActivity. I have researched a lot on "</p>

<blockquote>
  <p>Java.Lang.ClassNotFoundException: Didn't find class
  "android.support.v7.appcompat.R$styleable" on path</p>
</blockquote>

<p>" 
Tried things like updating Android SDK, deleting bin and obj folder.  Looking at stacktrace it seems to be an issue with MvvmCross.  Currently I am using 3.5.1 of MvvmCross.</p>

<p>Another fact is that I am the only one in team who is facing this issue. </p>

<pre><code>[MonoDroid] UNHANDLED EXCEPTION:
[MonoDroid] Java.Lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/appcompat/R$styleable; ---&gt; Java.Lang.ClassNotFoundException: Didn't find class "android.support.v7.appcompat.R$styleable" on path: DexPathList[[zip file "/data/app/org.cancer.fundraising-1/base.apk"],nativeLibraryDirectories=[/data/app/org.cancer.fundraising-1/lib/x86, /vendor/lib, /system/lib]]
[MonoDroid]   --- End of managed exception stack trace ---
[MonoDroid] java.lang.ClassNotFoundException: Didn't find class "android.support.v7.appcompat.R$styleable" on path: DexPathList[[zip file "/data/app/org.cancer.fundraising-1/base.apk"],nativeLibraryDirectories=[/data/app/org.cancer.fundraising-1/lib/x86, /vendor/lib, /system/lib]]
[MonoDroid]     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
[MonoDroid]     at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
[MonoDroid]     at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
[MonoDroid]     at android.support.v7.app.AppCompatDelegateImplBase.onCreate(AppCompatDelegateImplBase.java:118)
[MonoDroid]     at android.support.v7.app.AppCompatDelegateImplV7.onCreate(AppCompatDelegateImplV7.java:146)
[MonoDroid]     at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:59)
[MonoDroid]     at md5da1044ae077a2d5a79e87e5c6bedf113.LoginActivity.n_onCreate(Native Method)
[MonoDroid]     at md5da1044ae077a2d5a79e87e5c6bedf113.LoginActivity.onCreate(LoginActivity.java:31)
[MonoDroid]     at android.app.Activity.performCreate(Activity.java:5990)
[MonoDroid]     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
[MonoDroid]     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
[MonoDroid]     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
[MonoDroid]     at android.app.ActivityThread.access$800(ActivityThread.java:151)
[MonoDroid]     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
[MonoDroid]     at android.os.Handler.dispatchMessage(Handler.java:102)
[MonoDroid]     at android.os.Looper.loop(Looper.java:135)
[MonoDroid]     at android.app.ActivityThread.main(ActivityThread.java:5254)
[MonoDroid]     at java.lang.reflect.Method.invoke(Native Method)
[MonoDroid]     at java.lang.reflect.Method.invoke(Method.java:372)
[MonoDroid]     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
[MonoDroid]     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
[MonoDroid]     Suppressed: java.lang.ClassNotFoundException: android.support.v7.appcompat.R$styleable
[MonoDroid]         at java.lang.Class.classForName(Native Method)
[MonoDroid]         at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
[MonoDroid]         at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
[MonoDroid]         at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
[MonoDroid]         ... 19 more
[MonoDroid]     Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
[MonoDroid]   --- End of inner exception stack trace ---
[MonoDroid]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () &lt;0xa047bf80 + 0x0002b&gt; in &lt;filename unknown&gt;:0 
[MonoDroid]   at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (IntPtr jobject, IntPtr jclass, IntPtr jmethod, Android.Runtime.JValue* parms) &lt;0xa2007008 + 0x000b3&gt; in &lt;filename unknown&gt;:0 
[MonoDroid]   at Android.App.Activity.OnCreate (Android.OS.Bundle savedInstanceState) &lt;0xa1018918 + 0x0014f&gt; in &lt;filename unknown&gt;:0 
[MonoDroid]   at ACS.FundRaising.Android.MvxActionBarEventSourceActivity.OnCreate (Android.OS.Bundle bundle) &lt;0xa047b4e0 + 0x00037&gt; in &lt;filename unknown&gt;:0 
[MonoDroid]   at ACS.FundRaising.Android.LoginActivity.OnCreate (Android.OS.Bundle bundle) &lt;0xa047b278 + 0x0001b&gt; in &lt;filename unknown&gt;:0 
[MonoDroid]   at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (IntPtr jnienv, IntPtr native__this, IntPtr native_savedInstanceState) &lt;0xa116f9b0 + 0x00057&gt; in &lt;filename unknown&gt;:0 
[MonoDroid]   at (wrapper dynamic-method) System.Object:dd5e6f9d-f207-497c-b5c3-0a2c9dac76e7 (intptr,intptr,intptr)
[MonoDroid]   --- End of managed exception stack trace ---
[MonoDroid] java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/appcompat/R$styleable;
[MonoDroid]     at android.support.v7.app.AppCompatDelegateImplBase.onCreate(AppCompatDelegateImplBase.java:118)
[MonoDroid]     at android.support.v7.app.AppCompatDelegateImplV7.onCreate(AppCompatDelegateImplV7.java:146)
[MonoDroid]     at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:59)
[MonoDroid]     at md5da1044ae077a2d5a79e87e5c6bedf113.LoginActivity.n_onCreate(Native Method)
[MonoDroid]     at md5da1044ae077a2d5a79e87e5c6bedf113.LoginActivity.onCreate(LoginActivity.java:31)
[MonoDroid]     at android.app.Activity.performCreate(Activity.java:5990)
[MonoDroid]     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
[MonoDroid]     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
[MonoDroid]     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
[MonoDroid]     at android.app.ActivityThread.access$800(ActivityThread.java:151)
[MonoDroid]     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
[MonoDroid]     at android.os.Handler.dispatchMessage(Handler.java:102)
[MonoDroid]     at android.os.Looper.loop(Looper.java:135)
[MonoDroid]     at android.app.ActivityThread.main(ActivityThread.java:5254)
[MonoDroid]     at java.lang.reflect.Method.invoke(Native Method)
[MonoDroid]     at java.lang.reflect.Method.invoke(Method.java:372)
[MonoDroid]     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
[MonoDroid]     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
[MonoDroid] Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.appcompat.R$styleable" on path: DexPathList[[zip file "/data/app/org.cancer.fundraising-1/base.apk"],nativeLibraryDirectories=[/data/app/org.cancer.fundraising-1/lib/x86, /vendor/lib, /system/lib]]
[MonoDroid]     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
[MonoDroid]     at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
[MonoDroid]     at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
[MonoDroid]     ... 18 more
[MonoDroid]     Suppressed: java.lang.ClassNotFoundException: android.support.v7.appcompat.R$styleable
[MonoDroid]         at java.lang.Class.classForName(Native Method)
[MonoDroid]         at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
[MonoDroid]         at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
[MonoDroid]         at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
[MonoDroid]         ... 19 more
[MonoDroid]     Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
[Mono] Assembly Ref addref GoogleAnalytics.Core[0xb429abe0] -&gt; System.Net.Http[0xaed233a0]: 3
[Mono] Assembly Ref addref GoogleAnalytics.Core[0xb429abe0] -&gt; System.Core[0xb4387580]: 7
[Mono] Assembly Ref addref System.Net.Http[0xaed233a0] -&gt; System[0xb4387760]: 10
[Mono] Assembly Ref addref System.Net.Http[0xaed233a0] -&gt; System.Core[0xb4387580]: 8
[mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: Java.Lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/appcompat/R$styleable; ---&gt; Java.Lang.ClassNotFoundException: Didn't find class "android.support.v7.appcompat.R$styleable" on path: DexPathList[[zip file "/data/app/org.cancer.fundraising-1/base.apk"],nativeLibraryDirectories=[/data/app/org.cancer.fundraising-1/lib/x86, /vendor/lib, /system/lib]]
[mono-rt] 
[mono-rt]   --- End of managed exception stack trace ---
[mono-rt] java.lang.ClassNotFoundException: Didn't find class "android.support.v7.appcompat.R$styleable" on path: DexPathList[[zip file "/data/app/org.cancer.fundraising-1/base.apk"],nativeLibraryDirectories=[/data/app/org.cancer.fundraising-1/lib/x86, /vendor/lib, /system/lib]]
[mono-rt]   at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
[mono-rt]   at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
[mono-rt]   at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
[mono-rt]   at android.support.v7.app.AppCompatDelegateImplBase.onCreate(AppCompatDelegateImplBase.java:118)
[mono-rt]   at android.support.v7.app.AppCompatDelegateImplV7.onCreate(AppCompatDelegateImplV7.java:146)
[mono-rt]   at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:59)
[mono-rt]   at md5da1044ae077a2d5a79e87e5c6bedf113.LoginActivity.n_onCreate(Native Method)
[mono-rt]   at md5da1044ae077a2d5a79e87e5c6bedf113.LoginActivity.onCreate(LoginActivity.java:31)
[mono-rt]   at android.app.Activity.performCreate(Activity.java:5990)
[mono-rt]   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
[mono-rt]   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
[mono-rt]   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
[mono-rt]   at android.app.ActivityThread.access$800(ActivityThread.java:151)
[mono-rt]   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
[mono-rt]   at android.os.Handler.dispatchMessage(Handler.java:102)
[mono-rt]   at android.os.Looper.loop(Looper.java:135)
[mono-rt]   at android.app.ActivityThread.main(ActivityThread.java:5254)
[mono-rt]   at java.lang.reflect.Method.invoke(Native Method)
[mono-rt]   at java.lang.reflect.Method.invoke(Method.java:372)
[mono-rt]   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
[mono-rt]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
[mono-rt]   Suppressed: java.lang.ClassNotFoundException: android.support.v7.appcompat.R$styleable
[mono-rt]       at java.lang.Class.classForName(Native Method)
[mono-rt]       at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
[mono-rt]       at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
[mono-rt]       at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
[mono-rt]       ... 19 more
[mono-rt]   Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
[mono-rt] 
[mono-rt]   --- End of inner exception stack trace ---
[mono-rt]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () &lt;0xa047bf80 + 0x0002b&gt; in &lt;filename unknown&gt;:0 
[mono-rt]   at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (IntPtr jobject, IntPtr jclass, IntPtr jmethod, Android.Runtime.JValue* parms) &lt;0xa2007008 + 0x000b3&gt; in &lt;filename unknown&gt;:0 
[mono-rt]   at Android.App.Activity.OnCreate (Android.OS.Bundle savedInstanceState) &lt;0xa1018918 + 0x0014f&gt; in &lt;filename unknown&gt;:0 
[mono-rt]   at ACS.FundRaising.Android.MvxActionBarEventSourceActivity.OnCreate (Android.OS.Bundle bundle) &lt;0xa047b4e0 + 0x00037&gt; in &lt;filename unknown&gt;:0 
[mono-rt]   at ACS.FundRaising.Android.LoginActivity.OnCreate (Android.OS.Bundle bundle) &lt;0xa047b278 + 0x0001b&gt; in &lt;filename unknown&gt;:0 
[mono-rt]   at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (IntPtr jnienv, IntPtr native__this, IntPtr native_savedInstanceState) &lt;0xa116f9b0 + 0x00057&gt; in &lt;filename unknown&gt;:0 
[mono-rt]   at (wrapper dynamic-method) System.Object:dd5e6f9d-f207-497c-b5c3-0a2c9dac76e7 (intptr,intptr,intptr)
[mono-rt]   --- End of managed exception stack trace ---
[mono-rt] java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/appcompat/R$styleable;
[mono-rt]   at android.support.v7.app.AppCompatDelegateImplBase.onCreate(AppCompatDelegateImplBase.java:118)
[mono-rt]   at android.support.v7.app.AppCompatDelegateImplV7.onCreate(AppCompatDelegateImplV7.java:146)
[mono-rt]   at android.support.v7.app.AppCompatActivity.onCreate(AppCompa
</code></pre>