Fix Android Error A problem was found with the configuration of task :app:checkDebugManifest

Опубликовано: 12 Сентябрь 2024
на канале: KDTechs
98
0

video is about fixing android error:
FAILURE: Build completed with 5 failures.

1: Task failed with an exception.
-----------
* What went wrong:
A problem was found with the configuration of task ':app:checkDebugManifest' (type 'CheckManifest').
- In plugin 'com.android.build.gradle.api.AndroidBasePlugin' type 'com.android.build.gradle.internal.tasks.CheckManifest' property 'manifest' has annotation used on property of type 'File'.

Reason: A property of type 'File' annotated with cannot determine how to interpret the file.

Possible solutions:
1. Annotate with for regular files.
2. Annotate with for directories.
3. If you want to track the path, return File.absolutePath as a String and keep