Gradle DSL method not found: 'kapt()'

后端 未结 7 1344
暖寄归人
暖寄归人 2020-12-14 05:15

Gradle DSL method not found: \'kapt()\' Possible causes: The project \'jetpacklearn\' may be using a version of the Android Gradle plug-in that does not contain the method (

7条回答
  •  猫巷女王i
    2020-12-14 05:38

    The answer https://stackoverflow.com/a/56101024/6007104 is absolutely correct.

    But, for people using the gradle plugins block, it looks like this:

    plugins {
        id('kotlin-kapt')
    }
    

提交回复
热议问题