Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dfu exception while calculating file size on android (maui) #50

Open
siki411 opened this issue May 21, 2024 · 2 comments
Open

dfu exception while calculating file size on android (maui) #50

siki411 opened this issue May 21, 2024 · 2 comments

Comments

@siki411
Copy link

siki411 commented May 21, 2024

i am facing this issue while updating firmware it keep throwing this exception though i have added proguard rules in platforms andriod resources but it still showing it,

DfuArchiveInputStream] Manifest failed to be parsed. Did you add
[DfuArchiveInputStream] -keep class no.nordicsemi.android.dfu.
{ ; }
[DfuArchiveInputStream] to your proguard rules?
[DfuBaseService] An exception occurred while calculating file size
[DfuBaseService] java.io.IOException: The ZIP file must contain an Application, a Soft Device and/or a Bootloader.
*
[DfuBaseService] at no.nordicsemi.android.dfu.internal.ArchiveInputStream.(ArchiveInputStream.java:269)
[DfuBaseService] at no.nordicsemi.android.dfu.DfuBaseService.openInputStream(DfuBaseService.java:1457)
[DfuBaseService] at no.nordicsemi.android.dfu.DfuBaseService.onHandleIntent(DfuBaseService.java:1201)
[DfuBaseService] at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:77)
[DfuBaseService] at android.os.Handler.dispatchMessage(Handler.java:106)
[DfuBaseService] at android.os.Looper.loop(Looper.java:246)
[DfuBaseService] at android.os.HandlerThread.run(HandlerThread.java:67)

@siki411 siki411 changed the title dfu exception on android (maui) dfu exception while calculating file size on android (maui) May 21, 2024
@Pmr-precure
Copy link

Did you ever get a solution for this? - im at this point now :)

@siki411
Copy link
Author

siki411 commented Oct 14, 2024

i am sorry i was unable to find solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants