You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2019-05-03 09:59:29.628 8172-8172/com.royalways.pioneercranes E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.royalways.pioneercranes, PID: 8172
java.lang.NoSuchMethodError: No direct method (Landroidx/databinding/DataBindingComponent;Landroid/view/View;I)V in class Landroidx/databinding/ViewDataBinding; or its super classes (declaration of 'androidx.databinding.ViewDataBinding' appears in /data/app/com.royalways.pioneercranes-2/split_lib_dependencies_apk.apk)
at com.manojbhadane.holdy.databinding.ActivityHolderBinding.(ActivityHolderBinding.java:23)
at com.manojbhadane.holdy.databinding.ActivityHolderBindingImpl.(ActivityHolderBindingImpl.java:32)
at com.manojbhadane.holdy.databinding.ActivityHolderBindingImpl.(ActivityHolderBindingImpl.java:29)
at com.manojbhadane.holdy.DataBinderMapperImpl.getDataBinder(DataBinderMapperImpl.java:40)
at androidx.databinding.MergedDataBinderMapper.getDataBinder(MergedDataBinderMapper.java:74)
at androidx.databinding.DataBindingUtil.bind(DataBindingUtil.java:199)
at androidx.databinding.DataBindingUtil.bindToAddedViews(DataBindingUtil.java:327)
at androidx.databinding.DataBindingUtil.setContentView(DataBindingUtil.java:306)
at androidx.databinding.DataBindingUtil.setContentView(DataBindingUtil.java:284)
at com.manojbhadane.holdy.HolderActivity.onCreate(HolderActivity.java:40)
at android.app.Activity.performCreate(Activity.java:6666)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2677)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2789)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1527)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:203)
at android.app.ActivityThread.main(ActivityThread.java:6251)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1075)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
This error come after update appcompact to androidx and update to databinding
you do this type of coding for databinding in mainActivity
ActivityMainBinding dataBinding = DataBindingUtil.setContentView(this, R.layout.activity_main);
but i don't do this type of coding
please solve that issue, or give some alternate
The text was updated successfully, but these errors were encountered:
2019-05-03 09:59:29.628 8172-8172/com.royalways.pioneercranes E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.royalways.pioneercranes, PID: 8172
java.lang.NoSuchMethodError: No direct method (Landroidx/databinding/DataBindingComponent;Landroid/view/View;I)V in class Landroidx/databinding/ViewDataBinding; or its super classes (declaration of 'androidx.databinding.ViewDataBinding' appears in /data/app/com.royalways.pioneercranes-2/split_lib_dependencies_apk.apk)
at com.manojbhadane.holdy.databinding.ActivityHolderBinding.(ActivityHolderBinding.java:23)
at com.manojbhadane.holdy.databinding.ActivityHolderBindingImpl.(ActivityHolderBindingImpl.java:32)
at com.manojbhadane.holdy.databinding.ActivityHolderBindingImpl.(ActivityHolderBindingImpl.java:29)
at com.manojbhadane.holdy.DataBinderMapperImpl.getDataBinder(DataBinderMapperImpl.java:40)
at androidx.databinding.MergedDataBinderMapper.getDataBinder(MergedDataBinderMapper.java:74)
at androidx.databinding.DataBindingUtil.bind(DataBindingUtil.java:199)
at androidx.databinding.DataBindingUtil.bindToAddedViews(DataBindingUtil.java:327)
at androidx.databinding.DataBindingUtil.setContentView(DataBindingUtil.java:306)
at androidx.databinding.DataBindingUtil.setContentView(DataBindingUtil.java:284)
at com.manojbhadane.holdy.HolderActivity.onCreate(HolderActivity.java:40)
at android.app.Activity.performCreate(Activity.java:6666)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2677)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2789)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1527)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:203)
at android.app.ActivityThread.main(ActivityThread.java:6251)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1075)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
This error come after update appcompact to androidx and update to databinding
you do this type of coding for databinding in mainActivity
ActivityMainBinding dataBinding = DataBindingUtil.setContentView(this, R.layout.activity_main);
but i don't do this type of coding
please solve that issue, or give some alternate
The text was updated successfully, but these errors were encountered: