jeremy-ellis-tech / Xamarin.Android.OpenCV

C# bindings for the OpenCV Android SDK
MIT License
92 stars 44 forks source link

Crash on android 7 #11

Closed anthonybattel closed 7 years ago

anthonybattel commented 7 years ago

Sample crash on android 7 on Camera Preview Activity launched. It works on android 6

jeremy-ellis-tech commented 7 years ago

Hi Anthony, can you give some more information about the crash. What exactly does it tell you the reason is? Are there any error messages?

anthonybattel commented 7 years ago

Hi,

The stacktrace doesn't give me useful information. The crash occur on enableView function call in camera preview activity. I can reproduce this crash with an Android emulator on Android 7. It works on emulator with Android 6.

Thanks

Le 30 déc. 2016 9:05 PM, "TrekDev" notifications@github.com a écrit :

Hi Anthony, can you give some more information about the crash. What exactly does it tell you the reason is? Are there any error messages?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TrekDev/Xamarin.Android.OpenCV/issues/11#issuecomment-269815898, or mute the thread https://github.com/notifications/unsubscribe-auth/AN3n0BR6QZUdPs4b7-FgFQdHkRiQVUbWks5rNWQGgaJpZM4LYOzI .

jeremy-ellis-tech commented 7 years ago

Hi Anthony,

I believe this is an emulator issue. I've tested on a real phone (Nexus 5X, Android version 7.1.1) and it works fine. Try looking at your emulator settings. I believe some settings can improve performance but cause run-time issues (I had the same problems with my Skobbler bindings). Try turning these off or using a real device.