suchen

Heim  >  Fragen und Antworten  >  Hauptteil

android - 开启instant-run出问题

我把instant-run关闭的时候编译运行程序都没有问题,但是我启用的时候会报下面的错误,

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/growingio/android/sdk/agent/VdsAgent;
at butterknife.internal.DebouncingOnClickListener.onClick(DebouncingOnClickListener.java)
at android.view.View.performClick(View.java:5204)
at android.view.View$PerformClick.run(View.java:21153)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.growingio.android.sdk.agent.VdsAgent" on path: DexPathList[[dex file "/data/data/com.dituwuyou/files/instant-run/dex/slice-weiboSDKCore_3.1.4_3da283

但是我已经把com.growingio相关的东西都删了

ringa_leeringa_lee2771 Tage vor1871

Antworte allen(2)Ich werde antworten

  • 高洛峰

    高洛峰2017-04-18 09:09:05

    有没有人遇到啊,全局搜索“com/growingio/android/sdk/agent/VdsAgent”都搜不到,貌似这个问题一直存在

    Antwort
    0
  • 巴扎黑

    巴扎黑2017-04-18 09:09:05

    楼主解决了吗,我也是碰到找不到VdsAgent,但是只有一个魅族手机会这样,其它手机都能不报错

    Antwort
    0
  • StornierenAntwort