iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello Crosslight Support,
I just checked the new DialogPresenter Sample on Android. Unfortunately, it crashes after selecting a menu link (rate me, add to cart, call obama, intro carousel). Please, see the following error message:
Java.Lang.RuntimeException: Unable to start activity ComponentInfo{DialogPresenter.Android/md5de12dab3ecb38eed1becafd37f3acdc1.DialogActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class android.widget.Button at --- End of managed exception stack trace --- at java.lang.RuntimeException: Unable to start activity ComponentInfo{DialogPresenter.Android/md5de12dab3ecb38eed1becafd37f3acdc1.DialogActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class android.widget.Button at at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2412) at at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2470) at at android.app.ActivityThread.access$900(ActivityThread.java:174) at at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1307) at at android.os.Handler.dispatchMessage(Handler.java:102) at at android.os.Looper.loop(Looper.java:146) at at android.app.ActivityThread.main(ActivityThread.java:5593) at at java.lang.reflect.Method.invokeNative(Native Method) at at java.lang.reflect.Method.invoke(Method.java:515) at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283) at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099) at at dalvik.system.NativeStart.main(Native Method) at Caused by: android.view.InflateException: Binary XML file line #1: Error inflating class android.widget.Button at at android.view.LayoutInflater.createView(LayoutInflater.java:626) at at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56) at at android.view.LayoutInflater.onCreateView(LayoutInflater.java:675) at at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:700) at at android.view.LayoutInflater.rInflate(LayoutInflater.java:761) at at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) at at android.view.LayoutInflater.rInflate(LayoutInflater.java:769) at at android.view.LayoutInflater.inflate(LayoutInflater.java:498) at at android.view.LayoutInflater.inflate(LayoutInflater.java:398) at at android.view.LayoutInflater.inflate(LayoutInflater.java:354) at at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:366) at at android.app.Activity.setContentView(Activity.java:2031) at at md5de12dab3ecb38eed1becafd37f3acdc1.FragmentActivity_1.n_onCreate(Native Method) at at md5de12dab3ecb38eed1becafd37f3acdc1.FragmentActivity_1.onCreate(FragmentActivity_1.java:52) at at android.app.Activity.performCreate(Activity.java:5458) at at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093) at at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2376) at ... 11 more at Caused by: java.lang.reflect.InvocationTargetException at at java.lang.reflect.Constructor.constructNative(Native Method) at at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at at android.view.LayoutInflater.createView(LayoutInflater.java:600) at ... 27 more at Caused by: java.lang.NumberFormatException: Invalid int: "?16843814" at at java.lang.Integer.invalidInt(Integer.java:137) at at java.lang.Integer.parse(Integer.java:374) at at java.lang.Integer.parseInt(Integer.java:365) at at com.android.internal.util.XmlUtils.convertValueToInt(XmlUtils.java:122) at at android.content.res.TypedArray.getInt(TypedArray.java:255) at at android.widget.TextView.<init>(TextView.java:1365) at at android.widget.Button.<init>(Button.java:108) at at android.widget.Button.<init>(Button.java:104) at ... 30 more
The crash happens on my Galaxy Tab3 Tablet (SM-T310) with Android 4.4.2.
On my Motorola E2 Phone with Android 5.0.2 the sample works.
Android 4.4.2 is still widely used. So the DialogPresenter should work here, too.
I am using the latest stable Xamarin version and I just updated my Android SDK.
Hope this helps.
Thanks,
Thomas
Hi Thomas,Yeah the dialog presenter should work, because it even work in API 16 (4.1), i also test it in API 19 Tablet using XAP in debug modeCould you show me you application output (after the error happened press continue then please copy the content inside application output)?Is it also happened when you press the information (i circle) button or when you rotate the device?
Hello Arief,
it makes no difference whether I start the sample in Portrait or Landscape mode or whether I click on the text or the i circle. The app crashes everytime.
Here is the complete content of the output window (with press on continue button):
Loaded assembly: DialogPresenter.Android.dll
Loaded assembly: DialogPresenter.Core.dll
Loaded assembly: Intersoft.Crosslight.Android.dll
Loaded assembly: Intersoft.Crosslight.dll
Loaded assembly: Xamarin.Android.Support.v4.dll
Loaded assembly: Mono.Android.dll [External]
Loaded assembly: System.Core.dll [External]
Loaded assembly: System.dll [External]
Loaded assembly: MonoDroidConstructors [External]
Loaded assembly: Anonymously Hosted DynamicMethods Assembly [External]
Loaded assembly: System.Windows.dll [External]
Thread started: <Thread Pool> #2
Thread started: <Thread Pool> #3
07-27 13:28:12.156 I/SELinux (16850): Function: selinux_android_load_priority [0], There is no sepolicy file.
07-27 13:28:12.156 I/SELinux (16850): Function: selinux_android_load_priority [1], There is no sepolicy version file.
07-27 01:43:36.051 D/KeyguardUpdate07-27 13:28:12.156 I/SELinux (16850):
07-27 13:28:12.156 I/SELinux (16850):
07-27 13:28:12.161 D/dalvikvm(16850): Late-enabling CheckJNI
07-27 13:28:12.176 I/dalvikvm(16850): Enabling JNI app bug workarounds for target SDK version 11...
07-27 13:28:12.241 D/dalvikvm(16850): Trying to load lib /data/app-lib/DialogPresenter.Android-1/libmonodroid.so 0x4232c490
07-27 13:28:12.241 D/dalvikvm(16850): Added shared lib /data/app-lib/DialogPresenter.Android-1/libmonodroid.so 0x4232c490
07-27 13:28:12.251 W/monodroid(16850): Using override path: /data/data/DialogPresenter.Android/files/.__override__
07-27 13:28:12.251 W/monodroid(16850): Trying to load sgen from: /data/data/DialogPresenter.Android/files/.__override__/libmonosgen-2.0.so
07-27 13:28:12.251 W/monodroid(16850): Trying to load sgen from: /storage/emulated/0/Android/data/DialogPresenter.Android/files/.__override__/libmonosgen-2.0.so
07-27 13:28:12.251 W/monodroid(16850): Trying to load sgen from: /data/data/DialogPresenter.Android/files/.__override__/links/libmonosgen-2.0.so
07-27 13:28:12.376 W/monodroid-debug(16850): Accepted stdout connection: 51
Thread started: <Thread Pool> #4
07-27 13:28:13.166 D/Mono (16850): Image addref mscorlib[0x5ce29770] -> mscorlib.dll[0x5ce13658]: 1
07-27 13:28:13.166 D/Mono (16850): AOT module 'mscorlib.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-mscorlib.dll.so" not found
07-27 13:28:13.186 D/Mono (16850): Assembly mscorlib[0x5ce29770] added to domain RootDomain, ref_count=1
07-27 13:28:14.271 D/Mono (16850): Image addref DialogPresenter.Android[0x5d0ec5a0] -> DialogPresenter.Android.dll[0x5d0eb9d0]: 1
07-27 13:28:14.271 D/Mono (16850): AOT module 'DialogPresenter.Android.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-DialogPresenter.Android.dll.so" not found
07-27 13:28:14.276 D/Mono (16850): Image addref DialogPresenter.Core[0x5d0ee710] -> DialogPresenter.Core.dll[0x5d0edb40]: 1
07-27 13:28:14.276 D/Mono (16850): AOT module 'DialogPresenter.Core.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-DialogPresenter.Core.dll.so" not found
07-27 09:07:11.171 D/ISecCameraHardwar07-27 13:28:14.276 D/Mono (16850): AOT module '/Users/builder/data/lanes/1879/5f55a9ef/source/monodroid/builds/install/mono-armv7/lib/mono/aot-cache/arm/DialogPresenter.Core.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-DialogPresenter.Core.dll.so" not found
07-27 09:07:14.026 D/ISecCameraHard07-27 13:28:14.276 D/Mono (16850): Image addref Intersoft.Crosslight.Android[0x5d0f1f58] -> Intersoft.Crosslight.Android.dll[0x5d0f13e0]: 1
Loaded assembly: System.Xml.Linq.dll [External]
07-27 13:28:14.276 D/Mono (16850): AOT module 'Intersoft.Crosslight.Android.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-Intersoft.Crosslight.Android.dll.so" not found
07-27 13:28:14.276 D/Mono (16850): AOT module '/Users/builder/data/lanes/1879/5f55a9ef/source/monodroid/builds/install/mono-armv7/lib/mono/aot-cache/arm/Intersoft.Crosslight.Android.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-Intersoft.Crosslight.Android.dll.so" not found
07-27 13:28:14.276 D/Mono (16850): Image addref Intersoft.Crosslight[0x5ce0b008] -> Intersoft.Crosslight.dll[0x5ce0b1a0]: 1
07-27 13:28:14.276 D/Mono (16850): AOT module 'Intersoft.Crosslight.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-Intersoft.Crosslight.dll.so" not found
07-27 13:28:14.281 D/Mono (16850): Image addref Xamarin.Android.Support.v4[0x5ce49928] -> Xamarin.Android.Support.v4.dll[0x5ce49008]: 1
Loaded assembly: System.Xml.dll [External]
07-27 13:28:14.281 D/Mono (16850): AOT module 'Xamarin.Android.Support.v4.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-Xamarin.Android.Support.v4.dll.so" not found
07-27 13:28:14.281 D/Mono (16850): AOT module '/Users/builder/data/lanes/1879/5f55a9ef/source/monodroid/builds/install/mono-armv7/lib/mono/aot-cache/arm/Xamarin.Android.Support.v4.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-Xamarin.Android.Support.v4.dll.so" not found
07-27 09:09:20.976 D/STATUSBAR-NetworkController07-27 13:28:14.281 W/monodroid-gc(16850): GREF GC Threshold: 46080
07-27 13:28:14.281 D/Mono (16850): Image addref Mono.Android[0x5ce9b720] -> Mono.Android.dll[0x5ce49b70]: 1
07-27 13:28:14.281 D/Mono (16850): Assembly Mono.Android[0x5ce9b720] added to domain RootDomain, ref_count=1
07-27 13:28:14.281 D/Mono (16850): AOT module 'Mono.Android.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-Mono.Android.dll.so" not found
07-27 13:28:14.381 D/Mono (16850): Assembly Ref addref Mono.Android[0x5ce9b720] -> mscorlib[0x5ce29770]: 2
07-27 13:28:14.646 D/Mono (16850): DllImport loaded library '(null)'.
07-27 13:28:14.646 D/Mono (16850): DllImport searching in: '__Internal' ('(null)').
07-27 13:28:14.646 D/Mono (16850): Probing '_monodroid_lref_log_new'.
07-27 13:28:14.646 D/Mono (16850): Found as '_monodroid_lref_log_new'.
07-27 13:28:14.651 D/Mono (16850): DllImport searching in: '__Internal' ('(null)').
07-27 09:10:01.001 I/PCWCLIENTTRACE_SYSTEMRe07-27 13:28:14.651 D/Mono (16850): Searching for '_monodroid_lref_log_delete'.
07-27 13:28:14.651 D/Mono (16850): Found as '_monodroid_lref_log_delete'.
07-27 13:28:14.656 D/Mono (16850): Searching for '_monodroid_gref_log_new'.
07-27 13:28:14.656 D/Mono (16850): Probing '_monodroid_gref_log_new'.
07-27 13:28:14.656 D/Mono (16850): Found as '_monodroid_gref_log_new'.
07-27 13:28:14.676 D/Mono (16850): DllImport searching in: '__Internal' ('(null)').
07-27 13:28:14.676 D/Mono (16850): Searching for '_monodroid_get_identity_hash_code'.
07-27 13:28:14.676 D/Mono (16850): Found as '_monodroid_get_identity_hash_code'.
07-27 13:28:14.811 D/Mono (16850): DllImport searching in: '__Internal' ('(null)').
07-27 13:28:14.811 D/Mono (16850): Searching for '_monodroid_gref_log'.
07-27 13:28:14.811 D/Mono (16850): Probing '_monodroid_gref_log'.
07-27 13:28:14.811 D/Mono (16850): Found as '_monodroid_gref_log'.
07-27 13:28:14.836 D/Mono (16850): Image addref System.Core[0x643b2a68] -> System.Core.dll[0x643b21c0]: 1
07-27 13:28:14.836 D/Mono (16850): Assembly System.Core[0x643b2a68] added to domain RootDomain, ref_count=1
07-27 13:28:14.841 D/Mono (16850): AOT module '/Users/builder/data/lanes/1879/5f55a9ef/source/monodroid/builds/install/mono-armv7/lib/mono/aot-cache/arm/System.Core.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-System.Core.dll.so" not found
07-27 13:28:14.841 D/Mono (16850): Assembly Ref addref Mono.Android[0x5ce9b720] -> System.Core[0x643b2a68]: 2
07-27 13:28:14.841 D/Mono (16850): Assembly Ref addref System.Core[0x643b2a68] -> mscorlib[0x5ce29770]: 3
07-27 13:28:15.116 D/Mono (16850): Searching for '_monodroid_gref_log_delete'.
07-27 13:28:15.116 D/Mono (16850): Found as '_monodroid_gref_log_delete'.
07-27 13:28:15.131 D/Mono (16850): DllImport searching in: '__Internal' ('(null)').
07-27 13:28:15.131 D/Mono (16850): Probing '_monodroid_gc_wait_for_bridge_processing'.
07-27 13:24:31.806 I/l07-27 13:28:15.131 D/Mono (16850): Found as '_monodroid_gc_wait_for_bridge_processing'.
07-27 13:28:15.146 D/Mono (16850): Assembly Ref addref Xamarin.Android.Support.v4[0x5ce49928] -> mscorlib[0x5ce29770]: 4
07-27 13:28:15.151 D/Mono (16850): Assembly Ref addref DialogPresenter.Android[0x5d0ec5a0] -> Intersoft.Crosslight.Android[0x5d0f1f58]: 2
07-27 13:28:15.151 D/Mono (16850): Assembly Ref addref Intersoft.Crosslight.Android[0x5d0f1f58] -> Mono.Android[0x5ce9b720]: 3
07-27 13:28:15.151 D/Mono (16850): Assembly Ref addref DialogPresenter.Android[0x5d0ec5a0] -> Mono.Android[0x5ce9b720]: 4
07-27 13:28:15.161 D/Mono (16850): Assembly Ref addref Intersoft.Crosslight.Android[0x5d0f1f58] -> Intersoft.Crosslight[0x5ce0b008]: 2
07-27 13:28:15.161 D/Mono (16850): Assembly Ref addref Intersoft.Crosslight[0x5ce0b008] -> mscorlib[0x5ce29770]: 5
07-27 13:28:15.166 D/Mono (16850): Assembly Ref addref Intersoft.Crosslight.Android[0x5d0f1f58] -> mscorlib[0x5ce29770]: 7
07-27 13:24:57.556 I/MonoDroid07-27 13:28:15.166 D/Mono (16850): Image addref System[0x658b1dd8] -> System.dll[0x6589d710]: 1
07-27 13:28:15.166 D/Mono (16850): Assembly System[0x658b1dd8] added to domain RootDomain, ref_count=1
07-27 13:28:15.166 D/Mono (16850): AOT module '/Users/builder/data/lanes/1879/5f55a9ef/source/monodroid/builds/install/mono-armv7/lib/mono/aot-cache/arm/System.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-System.dll.so" not found
07-27 13:28:15.166 D/Mono (16850): Assembly Ref addref System[0x658b1dd8] -> mscorlib[0x5ce29770]: 8
07-27 13:28:15.216 D/Mono (16850): Remapped public key token of retargetable assembly System from 7cec85d7bea7798e to b77a5c561934e089
07-27 13:28:15.216 D/Mono (16850): The request to load the retargetable assembly System v2.0.5.0 was remapped to System v2.0.5.0
07-27 13:28:15.221 D/Mono (16850): Unloading image System.dll [0x658be6e0].
07-27 13:28:15.221 D/Mono (16850): Assembly Ref addref Intersoft.Crosslight[0x5ce0b008] -> System[0x658b1dd8]: 3
07-27 13:28:15.396 D/Mono (16850): Remapped public key token of retargetable assembly System.Core from 7cec85d7bea7798e to b77a5c561934e089
07-27 13:28:15.396 D/Mono (16850): The request to load the retargetable assembly System.Core v2.0.5.0 was remapped to System.Core v2.0.5.0
07-27 13:28:15.396 D/Mono (16850): Unloading image System.Core.dll [0x6594a9a8].
07-27 13:25:46.921 E/Camer07-27 13:28:15.396 D/Mono (16850): Image addref System.Core[0x65900d00] -> System.Core.dll[0x643b21c0]: 4
07-27 13:25:47.381 D07-27 13:28:15.396 D/Mono (16850): Assembly Ref addref Intersoft.Crosslight[0x5ce0b008] -> System.Core[0x643b2a68]: 3
07-27 13:28:15.441 D/Mono (16850): Assembly Ref addref System.Core[0x643b2a68] -> System[0x658b1dd8]: 4
07-27 13:28:15.836 D/Mono (16850): Assembly Ref addref Intersoft.Crosslight.Android[0x5d0f1f58] -> Xamarin.Android.Support.v4[0x5ce49928]: 2
07-27 13:28:15.836 D/Mono (16850): Assembly Ref addref DialogPresenter.Core[0x5d0ee710] -> Intersoft.Crosslight[0x5ce0b008]: 3
07-27 13:28:15.836 D/Mono (16850): The request to load the retargetable assembly mscorlib v2.0.5.0 was remapped to mscorlib v2.0.5.0
07-27 13:28:15.836 D/Mono (16850): Assembly Ref addref DialogPresenter.Core[0x5d0ee710] -> mscorlib[0x5ce29770]: 9
07-27 13:25:49.511 V/MediaPla07-27 13:28:15.836 D/Mono (16850): Remapped public key token of retargetable assembly System from 7cec85d7bea7798e to b77a5c561934e089
07-27 13:28:15.836 D/Mono (16850): Unloading image System.dll [0x65d98c20].
07-27 13:28:15.836 D/Mono (16850): Image addref System[0x65dc2950] -> System.dll[0x6589d710]: 5
07-27 13:28:15.836 D/Mono (16850): Assembly Ref addref DialogPresenter.Core[0x5d0ee710] -> System[0x658b1dd8]: 5
07-27 13:28:15.836 D/Mono (16850): Remapped public key token of retargetable assembly System.Windows from 7cec85d7bea7798e to b03f5f7f11d50a3a
07-27 13:28:15.836 D/Mono (16850): The request to load the retargetable assembly System.Windows v2.0.5.0 was remapped to System.Windows v2.0.5.0
07-27 13:28:15.836 D/Mono (16850): Image addref System.Windows[0x65dbfc40] -> System.Windows.dll[0x65d98c20]: 1
07-27 13:28:15.836 D/Mono (16850): AOT module 'System.Windows.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-System.Windows.dll.so" not found
07-27 13:28:15.836 D/Mono (16850): AOT module '/Users/builder/data/lanes/1879/5f55a9ef/source/monodroid/builds/install/mono-armv7/lib/mono/aot-cache/arm/System.Windows.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-System.Windows.dll.so" not found
07-27 13:28:15.836 D/Mono (16850): Assembly Ref addref DialogPresenter.Core[0x5d0ee710] -> System.Windows[0x65dbfc40]: 2
07-27 13:26:28.811 V/MediaPlay07-27 13:28:15.836 D/Mono (16850): Assembly Ref addref System.Windows[0x65dbfc40] -> System[0x658b1dd8]: 6
07-27 13:28:15.841 D/Mono (16850): Assembly Ref addref DialogPresenter.Android[0x5d0ec5a0] -> Intersoft.Crosslight[0x5ce0b008]: 4
07-27 13:28:15.871 D/Mono (16850): The request to load the retargetable assembly System.Core v2.0.5.0 was remapped to System.Core v2.0.5.0
07-27 13:28:15.871 D/Mono (16850): Unloading image System.Core.dll [0x65df3a48].
07-27 13:28:15.871 D/Mono (16850): Image addref System.Core[0x65df1828] -> System.Core.dll[0x643b21c0]: 5
07-27 13:27:19.006 D/SecCameraCoreM07-27 13:28:15.871 D/Mono (16850): Assembly Ref addref DialogPresenter.Core[0x5d0ee710] -> System.Core[0x643b2a68]: 5
07-27 13:28:15.906 D/Mono (16850): Assembly Ref addref DialogPresenter.Android[0x5d0ec5a0] -> System[0x658b1dd8]: 7
07-27 13:28:16.141 D/Mono (16850): DllImport attempting to load: '/system/lib/libc.so'.
07-27 13:28:16.146 D/Mono (16850): DllImport loaded library '/system/lib/libc.so'.
07-27 13:28:16.146 D/Mono (16850): Searching for 'gettid'.
07-27 13:28:16.146 D/Mono (16850): Probing 'gettid'.
07-27 13:28:16.706 D/Mono (16850): Remapped public key token of retargetable assembly System.Xml.Linq from 31bf3856ad364e35 to b77a5c561934e089
07-27 13:28:16.706 D/Mono (16850): The request to load the retargetable assembly System.Xml.Linq v2.0.5.0 was remapped to System.Xml.Linq v2.0.5.0
07-27 13:28:16.706 D/Mono (16850): Assembly System.Xml.Linq[0x6602ca38] added to domain RootDomain, ref_count=1
07-27 13:28:16.711 D/Mono (16850): AOT module 'System.Xml.Linq.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-System.Xml.Linq.dll.so" not found
07-27 13:28:16.711 D/Mono (16850): Assembly Ref addref Intersoft.Crosslight[0x5ce0b008] -> System.Xml.Linq[0x6602ca38]: 2
07-27 13:28:16.711 D/Mono (16850): Assembly Ref addref System.Xml.Linq[0x6602ca38] -> mscorlib[0x5ce29770]: 10
07-27 13:28:16.711 D/Mono (16850): Assembly System.Xml[0x66062908] added to domain RootDomain, ref_count=1
07-27 13:28:16.711 D/Mono (16850): AOT module 'System.Xml.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-System.Xml.dll.so" not found
07-27 13:28:16.711 D/Mono (16850): AOT module '/Users/builder/data/lanes/1879/5f55a9ef/source/monodroid/builds/install/mono-armv7/lib/mono/aot-cache/arm/System.Xml.dll.so' not found: dlopen failed: library "/data/app-lib/DialogPresenter.Android-1/libaot-System.Xml.dll.so" not found
07-27 13:28:16.711 D/Mono (16850): Assembly Ref addref System.Xml.Linq[0x6602ca38] -> System.Xml[0x66062908]: 2
07-27 13:28:16.851 D/Mono (16850): DllImport loaded library '(null)'.
07-27 13:28:16.851 D/Mono (16850): DllImport searching in: '__Internal' ('(null)').
07-27 13:28:16.851 D/Mono (16850): Searching for 'monodroid_get_system_property'.
07-27 13:28:16.851 D/Mono (16850): Probing 'monodroid_get_system_property'.
07-27 13:28:16.851 D/Mono (16850): Searching for 'monodroid_free'.
07-27 13:28:16.851 D/Mono (16850): Probing 'monodroid_free'.
07-27 13:28:16.851 D/Mono (16850): Found as 'monodroid_free'.
07-27 13:28:17.171 D/Mono (16850): Remapped public key token of retargetable assembly System.Windows from 7cec85d7bea7798e to b03f5f7f11d50a3a
07-27 13:28:17.171 D/Mono (16850): The request to load the retargetable assembly System.Windows v2.0.5.0 was remapped to System.Windows v2.0.5.0
07-27 13:28:17.171 D/Mono (16850): Assembly Ref addref Intersoft.Crosslight[0x5ce0b008] -> System.Windows[0x65dbfc40]: 3
07-27 13:28:17.386 D/AbsListView(16850): Get MotionRecognitionManager
07-27 13:28:18.251 D/dalvikvm(16850): GC_CONCURRENT freed 775K, 19% free 8080K/9912K, paused 2ms+1ms, total 36ms
07-27 13:28:47.166 W/Resources(16850): Converting to int: TypedValue{t=0x2/d=0x1010426 a=2}
07-27 13:28:47.171 D/Mono (16850): DllImport attempting to load: '/system/lib/liblog.so'.
07-27 13:28:47.171 D/Mono (16850): DllImport loaded library '/system/lib/liblog.so'.
07-27 13:28:47.171 D/Mono (16850): DllImport searching in: '/system/lib/liblog.so' ('/system/lib/liblog.so').
07-27 13:28:47.171 D/Mono (16850): Searching for '__android_log_print'.
07-27 13:28:47.171 D/Mono (16850): Probing '__android_log_print'.
07-27 13:28:47.171 D/Mono (16850): Found as '__android_log_print'.
07-27 13:28:47.176 I/MonoDroid(16850): UNHANDLED EXCEPTION:
07-27 13:28:47.191 I/MonoDroid(16850): Android.Views.InflateException: Exception of type 'Android.Views.InflateException' was thrown.
07-27 13:28:47.191 I/MonoDroid(16850): at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <IL 0x00011, 0x00078>
07-27 13:28:47.191 I/MonoDroid(16850): at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue*) [0x00084] in /Users/builder/data/lanes/1879/5f55a9ef/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:1029
07-27 13:28:47.191 I/MonoDroid(16850): at Android.App.Activity.SetContentView (int) [0x00070] in /Users/builder/data/lanes/1879/5f55a9ef/source/monodroid/src/Mono.Android/platforms/android-15/src/generated/Android.App.Activity.cs:4403
07-27 13:28:47.191 I/MonoDroid(16850): at Intersoft.Crosslight.Android.DialogActivity.InitializeView () <IL 0x001ca, 0x00f9f>
07-27 13:28:47.191 I/MonoDroid(16850): at Intersoft.Crosslight.Android.FragmentActivity`1<Intersoft.Crosslight.Android.DialogViewModel>.OnCreate (Android.OS.Bundle) <0x00537>
07-27 13:28:47.191 I/MonoDroid(16850): at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/1879/5f55a9ef/source/monodroid/src/Mono.Android/platforms/android-15/src/generated/Android.App.Activity.cs:2212
07-27 13:28:47.191 I/MonoDroid(16850): at (wrapper dynamic-method) object.c83d3869-9f32-4a8c-8aba-200d2a8ae833 (intptr,intptr,intptr) <IL 0x00017, 0x00043>
07-27 13:28:47.191 I/MonoDroid(16850): --- End of managed exception stack trace ---
07-27 13:28:47.191 I/MonoDroid(16850): android.view.InflateException: Binary XML file line #1: Error inflating class android.widget.Button
07-27 13:28:47.191 I/MonoDroid(16850): at android.view.LayoutInflater.createView(LayoutInflater.java:626)
07-27 13:28:47.191 I/MonoDroid(16850): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
07-27 13:28:47.191 I/MonoDroid(16850): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:675)
07-27 13:28:47.191 I/MonoDroid(16850): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:700)
07-27 13:28:47.191 I/MonoDroid(16850): at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
07-27 13:28:47.191 I/MonoDroid(16850): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
07-27 13:28:47.191 I/MonoDroid(16850): at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
07-27 13:28:47.191 I/MonoDroid(16850): at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
07-27 13:28:47.191 I/MonoDroid(16850): at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
07-27 13:28:47.191 I/MonoDroid(16850): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:366)
07-27 13:28:47.191 I/MonoDroid(16850): at android.app.Activity.setContentView(Activity.java:2031)
07-27 13:28:47.191 I/MonoDroid(16850): at md5de12dab3ecb38eed1becafd37f3acdc1.FragmentActivity_1.n_onCreate(Native Method)
07-27 13:28:47.191 I/MonoDroid(16850): at md5de12dab3ecb38eed1becafd37f3acdc1.FragmentActivity_1.onCreate(FragmentActivity_1.java:52)
07-27 13:28:47.191 I/MonoDroid(16850): at android.app.Activity.performCreate(Activity.java:5458)
An unhandled exception occured.
07-27 13:28:47.191 I/MonoDroid(16850): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
07-27 13:28:47.191 I/MonoDroid(16850): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2376)
07-27 13:28:47.191 I/MonoDroid(16850): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2470)
07-27 13:28:47.191 I/MonoDroid(16850): at android.app.ActivityThread.access$900(ActivityThread.java:174)
07-27 13:28:47.191 I/MonoDroid(16850): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1307)
07-27 13:28:47.191 I/MonoDroid(16850): at android.os.Handler.dispatchMessage(Handler.java:102)
07-27 13:28:47.191 I/MonoDroid(16850): at android.os.Looper.loop(Looper.java:146)
07-27 13:28:47.191 I/MonoDroid(16850): at android.app.ActivityThread.main(ActivityThread.java:5593)
07-27 13:28:47.191 I/MonoDroid(16850): at java.lang.reflect.Method.invokeNative(Native Method)
07-27 13:28:47.191 I/MonoDroid(16850): at java.lang.reflect.Method.invoke(Method.java:515)
07-27 13:28:47.191 I/MonoDroid(16850): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
07-27 13:28:47.191 I/MonoDroid(16850): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
07-27 13:28:47.191 I/MonoDroid(16850): at dalvik.system.NativeStart.main(Native Method)
07-27 13:28:47.191 I/MonoDroid(16850): Caused by: java.lang.reflect.InvocationTargetException
07-27 13:28:47.191 I/MonoDroid(16850): at java.lang.reflect.Constructor.constructNative(Native Method)
07-27 13:28:47.191 I/MonoDroid(16850): at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
07-27 13:28:47.191 I/MonoDroid(16850): at android.view.LayoutInflater.createView(LayoutInflater.java:600)
07-27 13:28:47.191 I/MonoDroid(16850): ... 27 more
07-27 13:28:47.191 I/MonoDroid(16850): Caused by: java.lang.NumberFormatException: Invalid int: "?16843814"
07-27 13:28:47.191 I/MonoDroid(16850): at java.lang.Integer.invalidInt(Integer.java:137)
07-27 13:28:47.191 I/MonoDroid(16850): at java.lang.Integer.parse(Integer.java:374)
07-27 13:28:47.191 I/MonoDroid(16850): at java.lang.Integer.parseInt(Integer.java:365)
07-27 13:28:47.191 I/MonoDroid(16850): at com.android.internal.util.XmlUtils.convertValueToInt(XmlUtils.java:122)
07-27 13:28:47.191 I/MonoDroid(16850): at android.content.res.TypedArray.getInt(TypedArray.java:255)
07-27 13:28:47.191 I/MonoDroid(16850): at android.widget.TextView.<init>(TextView.java:1365)
07-27 13:28:47.191 I/MonoDroid(16850): at android.widget.Button.<init>(Button.java:108)
07-27 13:28:47.191 I/MonoDroid(16850): at android.widget.Button.<init>(Button.java:104)
07-27 13:28:47.191 I/MonoDroid(16850): ... 30 more
07-27 13:28:47.201 D/AndroidRuntime(16850): Shutting down VM
07-27 13:28:47.201 W/dalvikvm(16850): threadid=1: thread exiting with uncaught exception (group=0x41ceec08)
07-27 13:28:50.486 E/AndroidRuntime(16850): FATAL EXCEPTION: main
07-27 13:28:50.486 E/AndroidRuntime(16850): Process: DialogPresenter.Android, PID: 16850
07-27 13:28:50.486 E/AndroidRuntime(16850): java.lang.RuntimeException: Unable to start activity ComponentInfo{DialogPresenter.Android/md5de12dab3ecb38eed1becafd37f3acdc1.DialogActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class android.widget.Button
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2412)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2470)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.app.ActivityThread.access$900(ActivityThread.java:174)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1307)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.os.Handler.dispatchMessage(Handler.java:102)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.os.Looper.loop(Looper.java:146)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.app.ActivityThread.main(ActivityThread.java:5593)
07-27 13:28:50.486 E/AndroidRuntime(16850): at java.lang.reflect.Method.invokeNative(Native Method)
07-27 13:28:50.486 E/AndroidRuntime(16850): at java.lang.reflect.Method.invoke(Method.java:515)
07-27 13:28:50.486 E/AndroidRuntime(16850): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
07-27 13:28:50.486 E/AndroidRuntime(16850): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
07-27 13:28:50.486 E/AndroidRuntime(16850): at dalvik.system.NativeStart.main(Native Method)
07-27 13:28:50.486 E/AndroidRuntime(16850): Caused by: android.view.InflateException: Binary XML file line #1: Error inflating class android.widget.Button
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.view.LayoutInflater.createView(LayoutInflater.java:626)
07-27 13:28:50.486 E/AndroidRuntime(16850): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:675)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:700)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
07-27 13:28:50.486 E/AndroidRuntime(16850): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:366)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.app.Activity.setContentView(Activity.java:2031)
07-27 13:28:50.486 E/AndroidRuntime(16850): at md5de12dab3ecb38eed1becafd37f3acdc1.FragmentActivity_1.n_onCreate(Native Method)
07-27 13:28:50.486 E/AndroidRuntime(16850): at md5de12dab3ecb38eed1becafd37f3acdc1.FragmentActivity_1.onCreate(FragmentActivity_1.java:52)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.app.Activity.performCreate(Activity.java:5458)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2376)
07-27 13:28:50.486 E/AndroidRuntime(16850): ... 11 more
07-27 13:28:50.486 E/AndroidRuntime(16850): Caused by: java.lang.reflect.InvocationTargetException
07-27 13:28:50.486 E/AndroidRuntime(16850): at java.lang.reflect.Constructor.constructNative(Native Method)
07-27 13:28:50.486 E/AndroidRuntime(16850): at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.view.LayoutInflater.createView(LayoutInflater.java:600)
07-27 13:28:50.486 E/AndroidRuntime(16850): ... 27 more
07-27 13:28:50.486 E/AndroidRuntime(16850): Caused by: java.lang.NumberFormatException: Invalid int: "?16843814"
07-27 13:28:50.486 E/AndroidRuntime(16850): at java.lang.Integer.invalidInt(Integer.java:137)
07-27 13:28:50.486 E/AndroidRuntime(16850): at java.lang.Integer.parse(Integer.java:374)
07-27 13:28:50.486 E/AndroidRuntime(16850): at java.lang.Integer.parseInt(Integer.java:365)
07-27 13:28:50.486 E/AndroidRuntime(16850): at com.android.internal.util.XmlUtils.convertValueToInt(XmlUtils.java:122)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.content.res.TypedArray.getInt(TypedArray.java:255)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.widget.TextView.<init>(TextView.java:1365)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.widget.Button.<init>(Button.java:108)
07-27 13:28:50.486 E/AndroidRuntime(16850): at android.widget.Button.<init>(Button.java:104)
07-27 13:28:50.486 E/AndroidRuntime(16850): ... 30 more
Hi Thomas,We are unsuccessfully replicate the problem even using API 19/4.4.2 in our phone, but our programmer got a lead based on your error report. Looks like it likely caused by the rounded button doesn't inflate but we maybe need to investigate more, Could you try this sample, we remove rounded button from main list and put it in one of dialog presenter.
I just checked the modified sample. When I start the app, I see two buttons (no rounded and rounded). Clicking on the buttons I see I dialog coming up. An empty one and one with a blue circle in it. Clicking on OK, Cancel or the hardware back button closes the dialog. The app does not crash.
I hope this helps.
Question: Which version of the Java SDK do you use (1.6+ or 1.7+)?
Hi ThomasWe are tested it in both Java SDK 1.7 and 1.8, looks like it not caused by rounded button, hmm i think we back to square one.
what is the status of this issue? Are you doing further investigation at your end or is the issue done for you?
I just checked the DialogPresenter sample on iOS. Why is the DialogPresenter not working on iOS 7?
Hello Thomas,I will check the iOS 7 Dialog Presenter, but our QA team should already tested it in iOS 7. Yes we still investigating it, however we still can't reproduce the bugBest Regards,Arief
maybe it is not the DialogPresenter itself but the sample for the DialogPresenter which needs iOS 8. Reducing the target to iOS 7 the sample crashes and complains about "blurEffect". Maybe the blurEffect requires iOS 8. Nevertheless it is confusing and leeds you to a wrong direction.
Hi Thomas,Thanks for the head-up! Yeah it was exclusively for iOS 8 as you can see in here: https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIBlurEffect_Ref/index.html, i will inform this to our documentation team.Also sorry to inform you looks like this issue may be fixed a little late.
Hi Thomas,Looks like we found the problem are here is the video and our configuration using Galaxy Tab 3 as you can see in the attachment.Look like the problem is in the API of android, please try to change it like in the screenshot.
changing the project settings like in your screenshot solves the problem with the Galaxy Tab 3.
But what does this mean? Does the dialog presenter only work with API17 and above? This would be sad, because not all Android devices are running Android4.2+. Many users have an older OS.
Or is it like on iOS, that something in the sample itself requires API17, but the dialog presenter works with API15, too?
Thanks for clarifying.
Hi Thomas,Look like this is not the case, We actually test in different kind of API 15, 17, 21 in different kind of phone (4.12, 4.21, 4.42, etc. Even in API 10 still work if i not wrong, we are using galaxy tab 1).This problem actually exclusively happened when using 4.42 in Automatic uses target framework version, in other option if we test it it will work as intended. My suggestion is just sets your minimum to API 15 or any API that you want but set the target API as highest as you want.I suspect this is Xamarin problem that using wrong API when use automatic mode but we will investigate our code more if needed.Hope that'll helps and sorry my late response.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname