0

Error details below

Execution optimizations have been disabled for task ':app:compressDevelopmentDebugAssets' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: 'C:\Users\LAP\Documents\myapp\build\app\intermediates\merged_assets\developmentDebug\out'. Reason: Task ':app:compressDevelopmentDebugAssets' uses this output of task ':app:copyFlutterAssetsDevelopmentDebug' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem.

> Task :app:compressDevelopmentDebugAssets FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compressDevelopmentDebugAssets'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction
   > java.lang.OutOfMemoryError (no error message)

I have already added below in my build.gradle

 dexOptions {
        javaMaxHeapSize "4G"
    }

End goal is to be able to run the integration tests I have on firebase test lab Following this doc steps been shared on firebase https://github.com/flutter/flutter/tree/main/packages/integration_test#android-device-testing

0 Answers0