E-commerce-Complete-Flutter-UI icon indicating copy to clipboard operation
E-commerce-Complete-Flutter-UI copied to clipboard

Some problems were found with the configuration of task ':app:compileDebugRenderscript' (type 'RenderscriptCompile').

Open saidhasyim opened this issue 1 year ago • 0 comments

Hello, I've got this error when building the project.

Some problems were found with the configuration of task ':app:compileDebugRenderscript' (type 'RenderscriptCompile').
  - In plugin 'com.android.build.gradle.api.AndroidBasePlugin' type 'com.android.build.gradle.tasks.RenderscriptCompile' method 'useAndroidX()' should not be annotated with: @Input.

    Reason: Input/Output annotations are ignored if they are placed on something else than a getter.

    Possible solutions:
      1. Remove the annotations.
      2. Rename the method.

    Please refer to https://docs.gradle.org/7.6.1/userguide/validation_problems.html#ignored_annotations_on_method for more details about this problem.
  - In plugin 'com.android.build.gradle.api.AndroidBasePlugin' type 'com.android.build.gradle.tasks.RenderscriptCompile' property 'ndkConfig' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

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

Would you have any suggestion?

I have tried to set the compileSdkVersion 31 but the error persist.

I'm on the latest Futter and Dart version.

saidhasyim avatar Aug 25 '23 03:08 saidhasyim