FileNotFoundException on ZTE Grand X Max 2
See original GitHub issueFresco is using SoLoader and we got a bug report (https://github.com/facebook/fresco/issues/2176) that on the ZTE Grand X Max 2 (API 23), SoLoader cannot be initialized:
Caused by java.io.FileNotFoundException: /data/user/0/com.remind101/lib-main/dso_lock: open failed: EACCES (Permission denied)
at libcore.io.IoBridge.open(IoBridge.java:452)
at java.io.FileOutputStream.(FileOutputStream.java:87)
at java.io.FileOutputStream.(FileOutputStream.java:72)
at com.facebook.soloader.FileLocker.(FileLocker.java:28)
at com.facebook.soloader.FileLocker.lock(FileLocker.java:24)
at com.facebook.soloader.UnpackingSoSource.prepare(UnpackingSoSource.java:393)
at com.facebook.soloader.SoLoader.initImpl(SoLoader.java:211)
at com.facebook.soloader.SoLoader.init(SoLoader.java:120)
at com.facebook.soloader.SoLoader.init(SoLoader.java:104)
at com.facebook.drawee.backends.pipeline.Fresco.initialize(Fresco.java:63)
at com.facebook.drawee.backends.pipeline.Fresco.initialize(Fresco.java:46)
Caused by android.system.ErrnoException: open failed: EACCES (Permission denied)
at libcore.io.Posix.open(Posix.java)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
at libcore.io.IoBridge.open(IoBridge.java:438)
at java.io.FileOutputStream.(FileOutputStream.java:87)
at java.io.FileOutputStream.(FileOutputStream.java:72)
at com.facebook.soloader.FileLocker.(FileLocker.java:28)
at com.facebook.soloader.FileLocker.lock(FileLocker.java:24)
at com.facebook.soloader.UnpackingSoSource.prepare(UnpackingSoSource.java:393)
at com.facebook.soloader.SoLoader.initImpl(SoLoader.java:211)
at com.facebook.soloader.SoLoader.init(SoLoader.java:120)
at com.facebook.soloader.SoLoader.init(SoLoader.java:104)
at com.facebook.drawee.backends.pipeline.Fresco.initialize(Fresco.java:63)
at com.facebook.drawee.backends.pipeline.Fresco.initialize(Fresco.java:46)
It looks like ZTE has modified Android for whatever reason that prevents us from loading native libraries through SoLoader. The line where this is failing is here: https://github.com/facebook/SoLoader/blob/master/java/com/facebook/soloader/FileLocker.java#L35
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:7 (1 by maintainers)
Top Results From Across the Web
ZTE Grand X Max Plus Troubleshooting - iFixit
The ZTE Grand X Max Plus is an exclusive smartphone from Cricket that was released in 2015. This troubleshooting page will help you...
Read more >How To Hard Reset ZTE Grand X Max 2 Z988 - Swopsmart
Sound issues. Step 1. Ensure that your ZTE Grand X Max 2 Z988 is turned off by pressing the power button.
Read more >Zte grand x max 2 | XDA Forums
Any root method for cricket zte grand x max 2? Sent from my Z988 using Tapatalk.
Read more >Hard Reset ZTE Grand X Max 2 Z988, how to - HardReset.info
Begin by holding down the Power key for a few seconds in order to switch off the device. Restore ZTE Grand X Max...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I got this bug too, has anyone solved this?
I think this issue was fixed in v0.10.3. I will close it due to it’s too old. Feel free to reopen the issue if you’re still experiencing a similar issue on v0.10.3