java.lang.NoSuchFieldError

GitHub | ArtisanM | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 7#209940322

    GitHub | 11 months ago | huweigoodboy
    java.lang.NoSuchFieldError
  2. 0

    调用register时闪退。release版本。混淆已配置

    GitHub | 6 months ago | ArtisanM
    java.lang.NoSuchFieldError
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    AndroidAnnotations and EventBus

    Stack Overflow | 2 years ago | Herrbert74
    de.greenrobot.event.EventBusException: Subscriber class com.foo.bar.activities.Foo_ has no public methods called onEvent It seems EventBus doesn't look in the parent class. I guess the @Subscribe annotation everybody is talking about is only in Guava and Otto, but not in EventBus. Nobody is talking about compatibility problems between AA and Eventbus on the net, so I must be missing something. How can I make this work? EventBus: 2.4 AA: 3.2 EDIT: After WonderCsabo's answer I updated EventBus to 3.0 beta (including Subscribe annotations) and AA to 3.3.1 and the problem is gone, but there is another one: java.lang.NoSuchFieldError

  1. justCodeit 13 times, last 2 weeks ago
  2. filpgame 1 times, last 1 month ago
  3. Indri Yunita 1 times, last 2 months ago
  4. gamebusterz 219 times, last 2 months ago
  5. davidvanlaatum 2 times, last 4 months ago
30 more registered users
22 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.NoSuchFieldException

    MAIN_THREAD

    at java.lang.Class.getDeclaredField()
  2. Java RT
    Class.getDeclaredField
    1. java.lang.Class.getDeclaredField(Class.java:890)
    1 frame
  3. Android
    AnnotationAccess.decodeValue
    1. libcore.reflect.AnnotationAccess.decodeValue(AnnotationAccess.java:685)
    1 frame