aws-sdk-android
aws-sdk-android copied to clipboard
android demo crash when reopening the application
Describe the bug android demo will be crash after reopen app
To Reproduce
- follow this
- install app
- register and login
- exit app
- open app
- crash
Which AWS service(s) are affected?
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Environment Information:
- AWS Android SDK Version: 2.30.*
- Device: Vivo nex
- Android Version: Android 10
- Specific to simulators: No
Additional context 20220214.log
@hassanctech please take a look at this issue.
@disa6302 please take a look!
Will update the issue once I have taken a look.
I too have encountered this problem. I traced the cause to a device with a ToF camera. This is because getSupportedResolutionsForYUV420_888 in CameraHardwareCapabilitiesHelper and getOutputSizes for ToF camera cannot be obtained. For terminals with multiple cameras, there may be other cameras available, so the cameraUtils getSupportedCameraConfigurations cameraConfigurations.add(getSupportedCameraConfiguration (context, cameraId)); should be try-catch. (I have confirmed that the program works this way in my local environment.)
@mssitagaki In my case, the app is crashing due to Cognito Identity Authorization Error. See the error in issue: #2964
@KdB13 My apologies. I misread the error. By the way, I am also experiencing the Cognito Identity Authorization Error and would like to see a bug fix.
The Amazon Kinesis Video Demo App has been updated with a fix for the issue. Please pull the latest changes for the sample app.