Problem with release APK (android app) use OpenCV cam and android studio

hey i developed app on android studio and opencv that use the front camera.
the app work well when just compile it from the android studio.

the problem is then i make release APK for play store
when i go into the camera option in my app i get black screen
there is a different behavior after the release APK

what can be the problem? and how I can fix it?
thank