Home>

An error occurs at the build of a new project.


* What Went Wrong:
Execution Failed for Task ': App: CompressDebugassets'.
≫
 A Failure Occurred While Executing Com.Android.Build.gradle.Internal.Tasks.compressAssetSworkaction
   ≫
 D: \ AndroidStudioprojects \ Halloworld \ APP \ BUILD \ Intermediates \ Merged_assets \ Debug \ Out
* Try:
Run With --SstackTrace Option to Get The Stack Trace. RUN WITH --INFO OR --DEBUG Option to Get more Log Output. Run with --scan to get Full Insights.
* Get More Help at https://help.gradle.org
Deprecated Gradle Features Were Used in this Build, Making It Incompatible with Gradle 8.0.
Use '--warning-Mode All' to Show The Individual Deprecation Warnings.
See https://docs.gradle.org/7.0/userguide/command_line_interface.html#seco:command_line_warnings.
BUILD FAILED IN 14S

Before that, the error had the following text:

Failure: Build Failed with An Exception.
* What Went Wrong:
Execution Failed for Task ': App: ProcessDebugMainmanifest'.
≫
 com.android.manifmerger.manifestmerger2 $ MergeFailUREException: java.io.FileNotFoundException: D: \ AndroidStudioprojects \ Halloworld \ App \ Build \ Intermediates \ Navigation_json \ Debug \ Navigation.json (Unable to find the specified file)
* Try:
Run With --SstackTrace Option to Get The Stack Trace. Run With --Debug Option to Get more log Output. Run with --scan to get Full Insights.
* Get More Help at https://help.gradle.org
Deprecated Gradle Features Were Used in this Build, Making It Incompatible with Gradle 8.0.
Use '--warning-Mode All' to Show The Individual Deprecation Warnings.
See https://docs.gradle.org/7.0/userguide/command_line_interface.html#seco:command_line_warnings.
Build Failed In 1S

To correct the error, I:

  1. reinstalled Android Studio.
  2. allocated RAM.
  3. put gradle 7.

Deprecated Gradle ...

Andrey Mihalev2021-05-04 06:49:54

Made the same as in that post. Error did not leave the Configuration of Task ': App: ProcessDebugmanifest' (Type 'ProcessMultiaPKApplicationmanifest'). -Type 'ProcessMultiaPkapplicationmanifest' Property 'MainmergedManifest' Specifies File 'D: \ AndroidStudioprojects \ Halloworld \ App \ Build \ Intermediates \ Merged_manifest \ DEBUG \ Out \ AndroidManifest.xml' Which Doesn't Exist.

DeNiks_One2021-05-04 06:55:26