dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
998 stars 580 forks source link

Intermittent Errors and Download Issues with DJI Mini 2 and SDK #1243

Open sorengoyal opened 1 year ago

sorengoyal commented 1 year ago

I'm experiencing intermittent errors while trying to download full images using fetchFileByteData and fetchFileData. The errors include 'Failed to find file #XXXX' and 'Media download result: the server aborts the downloading.' I've tried adding delays between SDK calls and checking the sdCardFileListState, but the issue persists. Sometimes restarting the app or the drone and remote controller helps, but not always. If I wait a few days, I can sometimes download via the SDK. I'm not sure what's causing this. Urgent help needed!

Device and software information:

sorengoyal commented 1 year ago

I noticed this issue to be similar to #1235, where one person says the issue will be fixed in the MSDK V4.17. Is there an eta for the v4.17?

dji-dev commented 1 year ago

Agent comment from yating.liao in Zendesk ticket #90040:

The 4.17-a1 version has been released. Here is the address for the sample code: https://github.com/dji-sdk/Mobile-SDK-Android/tree/sdk_releases/4.17-alpha

°°°

sorengoyal commented 1 year ago

The version 4.17-a1 still has the same issue. Can you please provide the repro steps you used to determine the issue is not reproducible on your end?

dji-dev commented 1 year ago

Agent comment from yating.liao in Zendesk ticket #90040:

If you are still experiencing issues with downloading in version 4.17-a1, the problem you are encountering may be inconsistent with the content we have fixed. Could you please let us know how you are attempting to download and if you are able to successfully download photos using the sample we provided?

The phrase 'Media download result: the server aborts the downloading' generally refers to not entering the download mode.

°°°