Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception #13

Open
mgoyanes opened this issue Jan 23, 2017 · 0 comments
Open

Exception #13

mgoyanes opened this issue Jan 23, 2017 · 0 comments

Comments

@mgoyanes
Copy link

Using the latest Stetho version and having this error.

FATAL EXCEPTION: StethoWorker-main-1 Process: com.vodafone.ccbot, PID: 22675 java.lang.NoSuchMethodError: No direct method <init>(Landroid/content/Context;)V in class Lcom/facebook/stetho/inspector/protocol/module/Database; or its super classes (declaration of 'com.facebook.stetho.inspector.protocol.module.Database' appears in /data/app/com.mgm.cc-1/base.apk) at me.everything.providers.stetho.ModuleDatabaseDelegator.<init>(ModuleDatabaseDelegator.java:23) at me.everything.providers.stetho.Database.<init>(Database.java:44) at me.everything.providers.stetho.ProvidersStetho.getChromeDevtoolsDomain(ProvidersStetho.java:87) at me.everything.providers.stetho.ProvidersStetho$1.get(ProvidersStetho.java:125) at com.facebook.stetho.Stetho$BuilderBasedInitializer.getInspectorModules(Stetho.java:528) at com.facebook.stetho.Stetho$Initializer$RealSocketHandlerFactory.create(Stetho.java:456) at com.facebook.stetho.server.LazySocketHandler.getSocketHandler(LazySocketHandler.java:42) at com.facebook.stetho.server.LazySocketHandler.onAccepted(LazySocketHandler.java:36) at com.facebook.stetho.server.LocalSocketServer$WorkerThread.run(LocalSocketServer.java:167)

Any idea why?

Using like this:

`ProvidersStetho providersStetho = new ProvidersStetho(this);
providersStetho.enableDefaults();

    Stetho.initialize(
            Stetho.newInitializerBuilder(this)
                    .enableDumpapp(Stetho.defaultDumperPluginsProvider(this))
                    .enableWebKitInspector(providersStetho.defaultInspectorModulesProvider())
                    .build());`
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

No branches or pull requests

1 participant