SmartRefreshLayout icon indicating copy to clipboard operation
SmartRefreshLayout copied to clipboard

崩溃错误 java.lang.NoSuchMethodError: No static method lambda$static$1

Open iamwilllee opened this issue 9 years ago • 9 comments

FATAL EXCEPTION: main
                                                                             Process: com.buglee.lee.timelinenote, PID: 15368
                                                                             Theme: themes:{default=overlay:com.zui.theme.XuiSkin.pink, iconPack:com.zui.theme.XuiSkin.pink}
                                                                             java.lang.NoSuchMethodError: No static method lambda$static$1(Landroid/content/Context;Lcom/scwang/smartrefresh/layout/api/RefreshLayout;)Lcom/scwang/smartrefresh/layout/api/RefreshHeader; in class Lcom/scwang/smartrefresh/layout/SmartRefreshLayout; 
                                                                                 at com.scwang.smartrefresh.layout.SmartRefreshLayout$$Lambda$15.createRefreshHeader(Unknown Source)
                                                                                 at com.scwang.smartrefresh.layout.SmartRefreshLayout.onAttachedToWindow(SmartRefreshLayout.java:383)

iamwilllee avatar Jul 15 '17 03:07 iamwilllee

这是混淆之后出现的吗

scwang90 avatar Jul 15 '17 06:07 scwang90

没有混淆,应该是我的项目问题,但我还是没找到原因

iamwilllee avatar Jul 15 '17 10:07 iamwilllee

demo项目你能运行成功吗

scwang90 avatar Jul 15 '17 14:07 scwang90

可以,就是在我的项目中不行,也没找到具体原因

iamwilllee avatar Jul 15 '17 15:07 iamwilllee

我也出现这个问题,我用的kotlin

zhangrui49 avatar Jul 17 '17 01:07 zhangrui49

@Wiolem 你用的也是 kotlin 吗?

scwang90 avatar Jul 17 '17 05:07 scwang90

不是kotlin

iamwilllee avatar Jul 17 '17 07:07 iamwilllee

问题已经解决,请更新版本到最新版本

scwang90 avatar Jul 18 '17 01:07 scwang90

@scwang90 OK了,完美添加,谢谢了

iamwilllee avatar Jul 18 '17 02:07 iamwilllee