Skip to content

[ANDROID] App crashes on startup in dev env #15798

Closed

Description

The application crashes on startup in dev env with the next output (commit which introduced the issue):

java.lang.RuntimeException: Unable to create application im.status.ethereum.MainApplication: java.lang.RuntimeException: java.io.IOException: could not delete: /data/user/0/im.status.ethereum.debug/lib-main/libbetter.so
	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6596)
	at android.app.ActivityThread.access$1500(ActivityThread.java:230)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1911)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loop(Looper.java:224)
	at android.app.ActivityThread.main(ActivityThread.java:7551)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:995)
Caused by: java.lang.RuntimeException: java.io.IOException: could not delete: /data/user/0/im.status.ethereum.debug/lib-main/libbetter.so
	at com.facebook.soloader.SoLoader.init(SoLoader.java:214)
	at com.reactnativenavigation.NavigationApplication.onCreate(NavigationApplication.java:26)
	at im.status.ethereum.MainApplication.onCreate(MainApplication.java:70)
	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1189)
	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6591)
	... 8 more
Caused by: java.io.IOException: could not delete: /data/user/0/im.status.ethereum.debug/lib-main/libbetter.so
	at com.facebook.soloader.SysUtil.dumbDeleteRecursive(SysUtil.java:119)
	at com.facebook.soloader.UnpackingSoSource.deleteUnmentionedFiles(UnpackingSoSource.java:207)
	at com.facebook.soloader.UnpackingSoSource.regenerate(UnpackingSoSource.java:264)
	at com.facebook.soloader.UnpackingSoSource.refreshLocked(UnpackingSoSource.java:321)
	at com.facebook.soloader.UnpackingSoSource.prepare(UnpackingSoSource.java:414)
	at com.facebook.soloader.SoLoader.initSoSources(SoLoader.java:322)
	at com.facebook.soloader.SoLoader.init(SoLoader.java:200)
	at com.facebook.soloader.SoLoader.init(SoLoader.java:182)
	at com.facebook.soloader.SoLoader.init(SoLoader.java:212)
	... 12 more

OS: Android 10
Device: Redmi Note 8 Pro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions