#380·walle

AGP 7.5 gradle assembleChannel 报错

Author: liup46Created Aug 7, 2023Updated Aug 16, 2023
  • What went wrong: Some problems were found with the configuration of task ':app:assembleChinaReleaseChannels' (type 'ChannelMaker').

    • In plugin 'walle' type 'com.meituan.android.walle.ChannelMaker' field 'targetProject' without corresponding getter has been annotated with @Input.

      Reason: Annotations on fields are only used if there's a corresponding getter for the field.

      Possible solutions:

      1. Add a getter for field 'targetProject'.
      2. Remove the annotations on 'targetProject'.

      Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#ignored_annotations_on_field for more details about this problem.

    • In plugin 'walle' type 'com.meituan.android.walle.ChannelMaker' field 'variant' without corresponding getter has been annotated with @Input.

      Reason: Annotations on fields are only used if there's a corresponding getter for the field.

      Possible solutions:

      1. Add a getter for field 'variant'.
      2. Remove the annotations on 'variant'.

      Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#ignored_annotations_on_field for more details about this problem.

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

BUILD FAILED in 32s