-
Notifications
You must be signed in to change notification settings - Fork 880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal UnsatisfiedLinkError Crash on 4.1 & 4.2 Devices #256
Comments
I have this problem on android 4.2.2. |
I submit a PR with a fix for this issue #279.
|
Thanks for your PR @4brunu , merged into next release branch. Will release today. |
This was fast! thanks 👍 |
I am testing master (47cda44) and am experiencing the UnsatisfiedLinkError. I also tried to deploy the demo apk directly to the phone, instead of using the Run function of Android Studio (suspecting some Android Studio flaw). Am I doing something wrong? |
@udanieli Could show the stack strace? |
Can you share a sample project showing the error? |
Looking to the source code and the commit you pointed me (431f59d) it seems that this fix should be done again. Just testing, I made this simple patch: https://github.com/udanieli/camerakit-android/commit/06e55ac8825cd0e5d181bf5a79dc21e977f618ed then the demo crashes anyway for an OutOfMemoryException thrown from here, maybe because my camera creates a really big photo. Running the demo on an emulated device (640x480) no exception, the demo runs smoothly. I think it's another story. |
@udanieli Your fix looks good 👍 |
Second that, would love a PR, we can look at immediately merging. |
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Huawei Prism II: Android 4.1.1
HTC One X+: Android 4.2.2
Steps to Reproduce
Expected Behavior
Picture should be captured without crashing.
Actual Behavior
Demo app crashed due to a fatal, uncaught UnsatisfiedLinkError.
Huawei Prism II: Android 4.1.1:
HTC One X+: Android 4.2.2:
The text was updated successfully, but these errors were encountered: