How to fix ERROR: No signature of method: build_ap86oam3dut3pxce3x49rdtma.android()?

后端 未结 15 2129
野的像风
野的像风 2021-02-12 11:27

ERROR: No signature of method: build_ap86oam3dut3pxce3x49rdtma.android() is applicable for argument types: (build_ap86oam3dut3pxce3x49rdtma$_run_closure1) values: [build_ap86oam

15条回答
  •  无人及你
    2021-02-12 11:53

    Old issue but worth noting you might need to follow the migration guide here if you see this issue:

    https://developer.android.com/topic/libraries/view-binding/migration

    For me, removing the line apply plugin: 'kotlin-android-extensions' and adding view binding as below resolved the issue:

    buildFeatures {
        viewBinding true
    }
    

提交回复
热议问题