java.lang.NoSuchFieldError: com.afollestad.materialdialogs.R$attr.colorAccent

GitHub | mygift2016 | 8 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.

Root Cause Analysis

  1. java.lang.NoSuchFieldError

    com.afollestad.materialdialogs.R$attr.colorAccent

    at com.afollestad.materialdialogs.MaterialDialog$Builder.<init>()
  2. com.afollestad.materialdialogs
    MaterialDialog$Builder.<init>
    1. com.afollestad.materialdialogs.MaterialDialog$Builder.<init>(MaterialDialog.java:494)
    1 frame
  3. com.sunfusheng.small
    MainActivity.onCreate
    1. com.sunfusheng.small.lib.framework.proxy.handler.BaseHandler.<init>(BaseHandler.java:22)
    2. com.sunfusheng.small.lib.framework.proxy.handler.AsyncActivityHandler.<init>(AsyncActivityHandler.java:9)
    3. com.sunfusheng.small.lib.framework.proxy.helper.ActivityHelper.<init>(ActivityHelper.java:14)
    4. com.sunfusheng.small.lib.framework.base.BaseAsyncActivity.onCreate(BaseAsyncActivity.java:26)
    5. com.sunfusheng.small.lib.framework.base.BaseActivity.onCreate(BaseActivity.java:26)
    6. com.sunfusheng.small.app.main.MainActivity.onCreate(MainActivity.java:46)
    6 frames
  4. Android Platform
    Instrumentation.callActivityOnCreate
    1. android.app.Activity.performCreate(Activity.java:5311)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
    2 frames
  5. net.wequick.small
    ApkBundleLauncher$InstrumentationWrapper.callActivityOnCreate
    1. net.wequick.small.ApkBundleLauncher$InstrumentationWrapper.callActivityOnCreate(ApkBundleLauncher.java:167)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2283)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2370)
    3. android.app.ActivityThread.access$800(ActivityThread.java:155)
    4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1243)
    5. android.os.Handler.dispatchMessage(Handler.java:102)
    6. android.os.Looper.loop(Looper.java:136)
    7. android.app.ActivityThread.main(ActivityThread.java:5426)
    7 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
    2 frames
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame