Skip to content

Conversation

@riteshshukla04
Copy link
Contributor

@riteshshukla04 riteshshukla04 commented Dec 3, 2025

So when OTA Updates the bundle (For Example Nitro OTA or hot updater).
It fails with below error even when file exist

E  Unable to decode file: java.io.FileNotFoundException: file:///data/user/0/com.myApp/files/ota_unzipped_1764700762170/App-Bundles/drawable-mdpi/app_assets_images_login.png: open failed: ENOENT (No such file or directory)

RCA :-
decodeFile uses FileInputStream(pathName) which accepts urls (without file:// prefix) .

@mrousavy mrousavy merged commit a4aaa1d into mrousavy:main Dec 16, 2025
1 check passed
@mrousavy
Copy link
Owner

thanks!

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

Successfully merging this pull request may close these issues.

2 participants