I downloaded and built/ran the Todo sample (http://developer.xamarin.com/samples/Todo/) on iOS and Windows Phone without a problem, but when I attempted to run it on Android (API 15), the following exception was thrown when SetPage (App.GetMainPage ()) was called in MainActivity.OnCreate().
Android.Content.Res.Resources+NotFoundException: Resource ID #0x0
at Android.Runtime.JNIEnv.CallObjectMethod (intptr,intptr,Android.Runtime.JValue[]) [0x00064] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.12-series/41933531/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:194
at Android.Content.Res.Resources.GetDrawable (int) [0x00043] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.12-series/41933531/source/monodroid/src/Mono.Android/platforms/android-15/src/generated/Android.Content.Res.Resources.cs:581
at at Xamarin.Forms.Platform.Android.ResourceManager.GetDrawable (Android.Content.Res.Resources,string)
at at Xamarin.Forms.Platform.Android.Platform.PrepareMenu (Android.Views.IMenu)
at at Xamarin.Forms.Platform.Android.AndroidActivity.OnPrepareOptionsMenu (Android.Views.IMenu)
at Android.App.Activity.n_OnPrepareOptionsMenu_Landroid_view_Menu_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.12-series/41933531/source/monodroid/src/Mono.Android/platforms/android-15/src/generated/Android.App.Activity.cs:2965
at at (wrapper dynamic-method) object.7f814fe4-9ee0-42e9-b050-eb892628280c (intptr,intptr,intptr)
at --- End of managed exception stack trace ---
at android.content.res.Resources$NotFoundException: Resource ID #0x0
at at android.content.res.Resources.getValue(Resources.java:1018)
at at android.content.res.Resources.getDrawable(Resources.java:663)
at at xamarin.forms.platform.android.AndroidActivity.n_onPrepareOptionsMenu(Native Method)
at at xamarin.forms.platform.android.AndroidActivity.onPrepareOptionsMenu(AndroidActivity.java:64)
at at android.app.Activity.onPreparePanel(Activity.java:2462)
at at com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java:416)
at at com.android.internal.policy.impl.PhoneWindow.invalidatePanelMenu(PhoneWindow.java:739)
at at android.app.Activity.invalidateOptionsMenu(Activity.java:2552)
at at todo.android.MainActivity.n_onCreate(Native Method)
at at todo.android.MainActivity.onCreate(MainActivity.java:28)
at at android.app.Activity.performCreate(Activity.java:4465)
at at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
at at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
at at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
at at android.app.ActivityThread.access$600(ActivityThread.java:123)
at at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
at at android.os.Handler.dispatchMessage(Handler.java:99)
at at android.os.Looper.loop(Looper.java:137)
at at android.app.ActivityThread.main(ActivityThread.java:4424)
at at java.lang.reflect.Method.invokeNative(Native Method)
at at java.lang.reflect.Method.invoke(Method.java:511)
at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at at dalvik.system.NativeStart.main(Native Method)
Environment Info
Xamarin.Android
Version: 4.12.5 (Trial Edition)
Operating System
Windows 6.2.9200.0 (64-bit)