Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

影响dataBinging,databinding编译出来的apk启动崩溃 #24

Open
liuchen8899 opened this issue Jun 29, 2022 · 2 comments
Open

影响dataBinging,databinding编译出来的apk启动崩溃 #24

liuchen8899 opened this issue Jun 29, 2022 · 2 comments

Comments

@liuchen8899
Copy link

java.lang.ClassNotFoundException: androidx.databinding.DataBinderMapperImpl

@yongjie520
Copy link

我也遇到同样的问题,使用DataBinding的时候会出现

@yongjie520
Copy link

yongjie520 commented Feb 15, 2023

java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/databinding/DataBinderMapperImpl; at androidx.databinding.DataBindingUtil.(DataBindingUtil.java:32) at androidx.databinding.DataBindingUtil.getDefaultComponent(DataBindingUtil.java:65)
at androidx.databinding.DataBindingUtil.getDefaultComponent(DataBindingUtil.java:65) at com.xxxxxxxx.XXXXBinding.inflate(ActivityV2MainBinding.java:42)

插件:classpath 'com.sensorsdata.analytics.android:android-gradle-plugin2:3.5.4'
在注释掉神策插件之后就正常了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants