As the error is telling you your app is missing a activity_permissionresult or you are not using waitfor correctly.
As of no code shown we can only GUESS.
I solved it by inserting the wheel recommended by Erel, Thank you Don
B4X:
For Each permission As String In Array(rp.PERMISSION_READ_EXTERNAL_STORAGE,rp.PERMISSION_WRITE_EXTERNAL_STORAGE, rp.PERMISSION_ACCESS_COARSE_LOCATION,rp.PERMISSION_ACCESS_FINE_LOCATION, rp.PERMISSION_READ_PHONE_STATE,rp.PERMISSION_CAMERA )
rp.CheckAndRequest(permission)
Wait For Activity_PermissionResult (permission As String, Result As Boolean)
If Result = False Then
ToastMessageShow("No permission!", True)
Activity.Finish
Return
End If
Next