Skip to content

Conversation

YOEL311
Copy link
Contributor

@YOEL311 YOEL311 commented Aug 23, 2025

This PR updates the minSdkVersion in example/android/build.gradle from 24 to 26. This change resolves the issue where camera realtime detection fails on Android devices below API 26 due to the requirement for HardwareBuffers (see issue #102).
Error encountered:

Code
Frame Processor Error: Cannot get Platform Buffer - getNativeBuffer() requires HardwareBuffers, which are only available on Android API 26 or above. Set your app's minSdk version to 26 and try again., js engine: VisionCamera
Fixes: #102

update minSdkVersion to 26
@lukaszkurantdev lukaszkurantdev merged commit d528baf into lukaszkurantdev:main Sep 2, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Frame Processor Error: Camera Realtime Detection Fails on Android < API 26
2 participants