GithubHelp home page GithubHelp logo

While app launch: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/facebook/stetho/Stetho about just-another-android-app HOT 4 CLOSED

athkalia avatar athkalia commented on May 15, 2024
While app launch: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/facebook/stetho/Stetho

from just-another-android-app.

Comments (4)

athkalia avatar athkalia commented on May 15, 2024

Hey there, thanks for raising this. Can you give me a few more details on when this is happening?

from just-another-android-app.

souri avatar souri commented on May 15, 2024

Thanks for the response @athkalia. I'll try to explain the steps to reproduce it:

Steps

  1. Clone your repo
  2. Open it up in Android Studio
  3. Sync project files with Gradle
  4. Run the debug build variant it on a connected Android N device (I don't get any issues on the release variant)
  5. The app fails to launch with the above error and stack-trace

Note:

  1. I've changed the build tools version to 25.0.2, before syncing, because somehow although I had installed 25.0.1, Gradle could not find it.
  2. I tried some changes and now getting a different error
W/System: ClassLoader referenced unknown path: /data/app/com.example.develop-2/lib/arm64
I/art: Rejecting re-init on previously-failed class java.lang.Class<okhttp3.logging.HttpLoggingInterceptor>: java.lang.NoClassDefFoundError: Failed resolution of: Lokhttp3/Interceptor;

I'm not able to rule out if it's some environment issue.

from just-another-android-app.

souri avatar souri commented on May 15, 2024

Just changing back buildToolsVersion to 25.0.1 from 25.0.2 fixed it for me. Sorry for bothering you! Let me know why the incompatibility with 25.0.2 if you can though. I'll close the issue,

from just-another-android-app.

athkalia avatar athkalia commented on May 15, 2024

Alright great : >
I'll give you a shout when I upgrade

from just-another-android-app.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.