Jithu Paul
Jithu Paul
``` /* * Copyright 2019 The TensorFlow Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except...
The main error is ``` E/AndroidRuntime: FATAL EXCEPTION: main Process: org.tensorflow.lite.examples.classification, PID: 5776 java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=1, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {org.tensorflow.lite.examples.classification/org.tensorflow.lite.examples.classification.ClassifierActivity}: java.lang.ArrayIndexOutOfBoundsException:...
``` if (requestCode == PERMISSIONS_REQUEST) { //ISSUE HERE if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED { setFragment(); } ``` issue fixed
The real problem started when I deploy the action . The review said my mic is always open and need to close after specific question. but its js and confused...