didi / VirtualAPK

A powerful and lightweight plugin framework for Android
Apache License 2.0
8.99k stars 1.52k forks source link

宿主工程报错 #254

Open 2022happynew opened 6 years ago

2022happynew commented 6 years ago

E/dalvikvm: Could not find class 'android.databinding.DataBinderMapperProxy', referenced from method com.didi.virtualapk.PluginManager.hookDataBindingUtil

superqiaopu commented 6 years ago

崩溃了吗

superqiaopu commented 6 years ago

请先查看相关Wiki: Demo 工程运行须知 提问必看 常见问题解答(不定时更新)

2022happynew commented 6 years ago

是的,奔溃了

2022happynew commented 6 years ago

插件工程里面引入的依赖库,是需要先在宿主工程中引入吗?不然插件不能构建成功 The dependencies [com.android.support:appcompat-v7:28.0.0-beta01, com.android.support.constraint:constraint-layout:1.1.2, com.android.support:animated-vector-drawable:28.0.0-beta01, com.android.support:support-vector-drawable:28.0.0-beta01, com.android.support:loader:28.0.0-beta01, com.android.support:viewpager:28.0.0-beta01, com.android.support:coordinatorlayout:28.0.0-beta01, com.android.support:drawerlayout:28.0.0-beta01, com.android.support:slidingpanelayout:28.0.0-beta01, com.android.support:customview:28.0.0-beta01, com.android.support:swiperefreshlayout:28.0.0-beta01, com.android.support:asynclayoutinflater:28.0.0-beta01, com.android.support:cursoradapter:28.0.0-beta01, com.android.support:versionedparcelable:28.0.0-beta01, com.android.support:documentfile:28.0.0-beta01, com.android.support:localbroadcastmanager:28.0.0-beta01, com.android.support:print:28.0.0-beta01, com.android.support:interpolator:28.0.0-beta01, com.android.support:collections:28.0.0-beta01, com.android.support.constraint:constraint-layout-solver:1.1.2] that will be used in the current plugin must be included in the host app first. Please add it in the host app as well.