Android Gradle Build error :launcher:processReleaseResources

Android Gradle Build failed with error ':launcher:processReleaseResources'

Some of HOMA's latest SDKs do require some modifications in your build settings.

If you are experiencing any of the followin errors upon building for Android:

* What went wrong:
Execution failed for task ':launcher:processReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed ...jetified-androidx.core.core-1.9.0/res/values/values.xml:104:5-113:25: AAPT: error: resource android:attr/lStar not found.
* What went wrong:
Execution failed for task ‘:launcher:processReleaseResources’.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > AAPT2 aapt2-4.0.1-6197926-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.

The proposed fixes are:

  • Set Android Target API Level to 31 or higher 



  • Set JVM heap size to 4096