Xamarin Studio 6 F# Android Unit Test App NotFoundException -
i using xamarin studio community version 6 on mac.
- create new "android/tests/unit test app/f#" project.
- run in emulator.
"android/tests/unit test app/c#" projects work fine.
here exception detail:
android.content.res.resources+notfoundexception: resource id #0x7f020003 @ system.runtime.exceptionservices.exceptiondispatchinfo.throw () [0x0000c] in /users/builder/data/lanes/2923/52635947/source/mono/external/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143 @ java.interop.jnienvironment+instancemethods.callnonvirtualvoidmethod (jniobjectreference instance, jniobjectreference type, java.interop.jnimethodinfo method, java.interop.jniargumentvalue* args) [0x000a7] in /users/builder/data/lanes/2923/52635947/source/java.interop/src/java.interop/java.interop/jnienvironment.g.cs:12083 @ java.interop.jnipeermembers+jniinstancemethods.invokevirtualvoidmethod (system.string encodedmember, ijavapeerable self, java.interop.jniargumentvalue* parameters) [0x00068] in /users/builder/data/lanes/2923/52635947/source/java.interop/src/java.interop/java.interop/jnipeermembers.jniinstancemethods_invoke.cs:31 @ android.app.activity.setcontentview (int32 layoutresid) [0x00017] in /users/builder/data/lanes/2923/52635947/source/monodroid/src/mono.android/platforms/android-19/src/generated/android.app.activity.cs:4102 @ xamarin.android.nunitlite.testsuiteactivity.oncreate (android.os.bundle bundle) [0x0001b] in /users/builder/data/lanes/2923/52635947/source/monodroid/src/nunit/gui/activities/testsuiteactivity.cs:39 @ xamarintemplate.core.tests.fsharp.mainactivity.oncreate (android.os.bundle bundle) [0x0000c] in /users/don/dev/15x10/xamarintemplate/xamarintemplate.core.tests.fsharp/mainactivity.fs:17 @ android.app.activity.n_oncreate_landroid_os_bundle_ (intptr jnienv, intptr native__this, intptr native_savedinstancestate) [0x00011] in /users/builder/data/lanes/2923/52635947/source/monodroid/src/mono.android/platforms/android-19/src/generated/android.app.activity.cs:2102 @ at (wrapper dynamic-method) system.object:11410e9c-5bf3-4341-b40b-0fd0770022bf (intptr,intptr,intptr) @ --- end of managed exception stack trace --- @ android.content.res.resources$notfoundexception: resource id #0x7f020003 @ at android.content.res.resources.getvalue(resources.java:1266) @ at android.content.res.resources.loadxmlresourceparser(resources.java:2649) @ at android.content.res.resources.getlayout(resources.java:1082) @ at android.view.layoutinflater.inflate(layoutinflater.java:412) @ at android.view.layoutinflater.inflate(layoutinflater.java:365) @ at com.android.internal.policy.impl.phonewindow.setcontentview(phonewindow.java:378) @ at android.app.activity.setcontentview(activity.java:2145) @ at md5cb9b4e367aed809f464e8979fc58f264.mainactivity.n_oncreate(native method) @ at md5cb9b4e367aed809f464e8979fc58f264.mainactivity.oncreate(mainactivity.java:29) @ at android.app.activity.performcreate(activity.java:5990) @ at android.app.instrumentation.callactivityoncreate(instrumentation.java:1106) @ at android.app.activitythread.performlaunchactivity(activitythread.java:2278) @ at android.app.activitythread.handlelaunchactivity(activitythread.java:2387) @ at android.app.activitythread.access$800(activitythread.java:151) @ at android.app.activitythread$h.handlemessage(activitythread.java:1303) @ at android.os.handler.dispatchmessage(handler.java:102) @ at android.os.looper.loop(looper.java:135) @ at android.app.activitythread.main(activitythread.java:5254) @ at java.lang.reflect.method.invoke(native method) @ at java.lang.reflect.method.invoke(method.java:372) @ at com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:903) @ at com.android.internal.os.zygoteinit.main(zygoteinit.java:698)