java.lang.NoClassDefFoundError: Landroid/app/Activity;

ormlite | b-wojtowicz | 4 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA
  2. 0

    writeConfigFile fails when using types that can not be recognized by JRE

    ormlite | 4 years ago | b-wojtowicz
    java.lang.NoClassDefFoundError: Landroid/app/Activity;
  3. 0

    Add support for Maven 3.1.0

    GitHub | 4 years ago | aldaris
    java.lang.NoClassDefFoundError: Lorg/sonatype/aether/RepositorySystem;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting error while deploying webapp on tomcat server after upgrading web application from Spring 2.5 to 3.2.4

    Stack Overflow | 3 years ago | sharad-garg
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/central]]
  6. 0

    EJB ClassNotFoundException on Glassfish v3.1

    Stack Overflow | 5 years ago | Cetin Imre
    java.lang.NoClassDefFoundError: Lcom/cetin/session/EJBBean;

  1. andyglick 10 times, last 6 days ago
  2. Hronom 9 times, last 3 months ago
  3. tvrmsmith 10 times, last 3 weeks ago
  4. davidvanlaatum 4 times, last 9 months ago
  5. Kawada 2 times, last 10 months ago
37 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    Landroid/app/Activity;

    at java.lang.Class.getDeclaredFields0()
  2. Java RT
    Class.getDeclaredFields
    1. java.lang.Class.getDeclaredFields0(Native Method)
    2. java.lang.Class.privateGetDeclaredFields(Class.java:2291)
    3. java.lang.Class.getDeclaredFields(Class.java:1743)
    3 frames