Bug? Camera2 example : Exception: Sub activity_permissionresult was not found

Cainsoft

Member
Licensed User
Longtime User
Hi,

I downloaded the camera2 example (https://www.b4x.com/android/forum/threads/camera2-still-images-and-videos.83920/) and when I try to run in release mode, I get the following error message:

On first run, the window asking for permission appeared. But after that it just throws an error.

I only made one change to the original code to see the error: #BridgeLogger:true

(I installed the latest B4A (10.90) and the "Android SDK + Required Resources" packages.)

Thanks advance!
Attila
 

Cainsoft

Member
Licensed User
Longtime User
This error means that you are using an old version of RuntimePermissions library. I recommend you to delete all the internal libraries and reinstall B4A.
Thank you, deleting the directory solved the problem.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…