Relative Content

Tag Archive for androidgradle

I am running my flutter project with firebase it is showing this error

FAILURE: Build failed with an exception. * Where: Build file ‘E:E_Commerceandroidbuild.gradle’ line: 1 * What went wrong: Could not compile build file ‘E:E_Commerceandroidbuild.gradle’. > startup failed: build file ‘E:E_Commerceandroidbuild.gradle’: 1: Unexpected input: ‘{‘ @ line 1, column 13. buildscript { ^ 1 error * Try: > Run with –stacktrace option to get the stack trace. […]

I am running my flutter project with firebase it is showing this error

FAILURE: Build failed with an exception. * Where: Build file ‘E:E_Commerceandroidbuild.gradle’ line: 1 * What went wrong: Could not compile build file ‘E:E_Commerceandroidbuild.gradle’. > startup failed: build file ‘E:E_Commerceandroidbuild.gradle’: 1: Unexpected input: ‘{‘ @ line 1, column 13. buildscript { ^ 1 error * Try: > Run with –stacktrace option to get the stack trace. […]

How to set doNotStrip in build.gradle.kts

My Android app project requires doNotStrip when packaging, but my project configure file is new build configuration file build.gradle.kts instead of build.gradle. Most of the tutorials are for build.gradle.

How to exclude module from support library

I have a support library, and one of the module say moduleA, and moduleA contains C++ CDM files only, i will load these files dynamically. so currently, in my support library settings.gradle, i called include :moduleA and etc. and this moduleA is only being used in support library. Now, I have a project, and it […]

Execution failed for task ‘:app:processDebugResources’. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers

Task :app:processDebugResources FAILED
Execution failed for task ‘:app:processDebugResources’.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-4.1.3-6503028-osx Daemon #0: Unexpected error during link, attempting to stop daemon.
This should not happen under normal circumstances, please file an issue if it does.

replacing custom build config fields for gradle 9

Currently I’m using gradle + BuildConfig.java to pass information into my app and if I’m reading the docs and warnings right, this functionality is disappearing with gradle 9.

I’m currently at gradle 8.4. My app build.gradle looks like:

Error: Could not find or load main class worker.org.gradle.process.internal.worker.GradleWorkerMain

It appeared on its own a couple of times, although the tests were running before that. Now, having created a new project and written the first test, the error has not disappeared.
I created unitTest for my VisualTransformation logic(compose). This logic locating is in a different class, and it is not in VisualTransformation. And I tried to run a test for this class and I get this stacktrace error: