java.lang.RuntimeException: Unable to start activity ComponentInfo{com.getdreams/com.dreams.LauncherActivity}: io.realm.exceptions.RealmFileException: Unable to open a realm at path '/data/data/com.getdreams/files/default.realm': Realm file decryption failed. in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_SharedRealm.cpp line 92 Kind: ACCESS_ERROR.


Solutions on the web

Solution icon of github
Unable to start activity ComponentInfo{com.getdreams/com.dreams.LauncherActivity}: io.realm.exceptions.RealmFileException: Unable to open a realm at path '/data/data/com.getdreams/files/default.realm': Realm file decryption failed. in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_SharedRealm.cpp line 92 Kind: ACCESS_ERROR.

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.etobee.driver/com.etobee.driver.activity.HomeActivity}: java.lang.IllegalStateException: Cannot migrate a Realm file that is already open: /data/data/com.etobee.driver/files/default6

Solution icon of github
via GitHub by imidhuntv
, 1 year ago
Unable to start activity ComponentInfo{com.talkoot.android/com.talkoot.android.activities.SplashActivity}: java.lang.IllegalArgumentException: Illegal Argument: Invalid format of Realm file.

Solution icon of github
Unable to start activity ComponentInfo{com.lt.com.lt.ui.activities.MainActivity}: io.realm.exceptions.RealmException: class com.lt.model.Order is not part of the schema for this Realm.

Solution icon of github
Unable to start activity ComponentInfo{com.thoughtworks.jizhang.realmdemo/com.thoughtworks.jizhang.realmdemo.MainActivity}: java.lang.IllegalArgumentException: RealmUser is not part of the schema for this Realm

Solution icon of github
Unable to start activity ComponentInfo{commerce.product/commerce.product.MainActivity}: io.realm.exceptions.RealmException: class commerce.product.Product is not part of the schema for this Realm.

Solution icon of github
Unable to start activity ComponentInfo{com.app.mobile/com.tns.NativeScriptActivity}: com.tns.NativeScriptException: NativeScript application not initialized correctly. getActivity method returned invalid value. Error: A Frame must be used to

Solution icon of github
Unable to start activity ComponentInfo{rust.rstest/rust.rstest.MainActivity}: java.lang.IllegalArgumentException: Unable to load native library: /data/app/rust.rstest-2/lib/arm/libmain.so

Solution icon of github
Unable to start activity ComponentInfo{com.DSIdeal.QingDaoXiangMu/com.unity3d.player.UnityPlayerNativeActivity}: java.lang.IllegalArgumentException: Unable to find native library: main

Solution icon of github
Unable to instantiate activity ComponentInfo{me.ele.app.amigo/ele.aaa.ele}: java.lang.ClassNotFoundException: Didn't find class "ele.aaa.ele" on path: DexPathList[[dex file "/data/data/me.ele.app.amigo/files/amigo/3384999164/dexes/classes.dex"],nativeLibraryDirectories=[/data/data/me.ele.app.amigo/files/amigo/3384999164/libs, /vendor/lib64, /system/lib64]]

Stack trace

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.getdreams/com.dreams.LauncherActivity}: io.realm.exceptions.RealmFileException: Unable to open a realm at path '/data/data/com.getdreams/files/default.realm': Realm file decryption failed. in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_SharedRealm.cpp line 92 Kind: ACCESS_ERROR.
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2411)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2474)
	at android.app.ActivityThread.access$800(ActivityThread.java:144)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1359)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:155)
	at android.app.ActivityThread.main(ActivityThread.java:5696)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
Caused by: io.realm.exceptions.RealmFileException: Unable to open a realm at path '/data/data/com.getdreams/files/default.realm': Realm file decryption failed. in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_SharedRealm.cpp line 92 Kind: ACCESS_ERROR.
	at io.realm.internal.SharedRealm.nativeGetSharedRealm(Native Method)
	at io.realm.internal.SharedRealm.a(SharedRealm.java:205)
	at io.realm.internal.SharedRealm.a(SharedRealm.java:182)
	at io.realm.be.a(RealmCache.java:124)
	at io.realm.Realm.n(Realm.java:209)
	at com.dreams.LauncherActivity.onCreate(LauncherActivity.kt:28)
	at android.app.Activity.performCreate(Activity.java:5958)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364)
	... 10 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago