uPhyca/stetho-realm

Application crach when open chrome://inspect

Opened this issue · 16 comments

Hello,

I implemetn the Stetho realm plugin but when I launch the chrome://inspect and click to see my phone, the application crash ? Why ? No see any error in console.

You guys do realize that you can use Realm Studio to see contents of the Realm with Windows 8.1+, Ubuntu, or Mac, right?

https://realm.io/products/realm-studio/

Oh, I guess not directly. AS 3.0 does allow taking the file from the data folder and copy it out quite easily with the Device File Explorer, though.

but I i want to export the file it not found ?

see screen (fr.laposte.gompost) :
android_device_monitor

Is the app in debug mode or release?

#62 This is the problem

com.uphyca:stetho_realm:2.2.2 cannot support on realm 4.3.1

any updates for realm 4.3.1 support?

Is this not maintained anymore?

Presently I am using this workaround: (Presently using Realm v4.3.2 )

In your app's build.gradle
debugImplementation "com.uphyca:stetho_realm:2.2.0"

In your project's build.gradle

allprojects {
    repositories {
        maven { url 'https://github.com/mak0t0san/stetho-realm/raw/master/maven-repo' }
    }
}

Hope it helps!

Hey thanks for the link. But with this i am getting a connection lost with

Exception has been thrown: Realm at path '/data/data/com.my.app/files/default.realm' already opened with a different schema mode

thanks @SarthakM9
I am using Realm v4.3.3

In my app's build.gradle

debugImplementation "com.uphyca:stetho_realm:2.2.0"

In my project's build.gradle

allprojects {
    repositories {
        maven { url 'https://github.com/mak0t0san/stetho-realm/raw/master/maven-repo' }
    }
}

then it works!

hram commented

@Zhuinden do not mislead developers and do not compare Realm Studio with inspection in chrome
I download Realm Studio and can do nothing