Jamie Huson
02/16/2022, 4:43 PMJamie Huson
02/16/2022, 4:44 PM* What went wrong:
Execution failed for task ':EtsyLib:compileDebugLibraryResources'.
> A failure occurred while executing com.android.build.gradle.tasks.CompileLibraryResourcesTask$CompileLibraryResourcesAction
> There were multiple failures while executing work items
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> AAPT2 aapt2-4.2.1-7147631-osx Daemon #1: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> AAPT2 aapt2-4.2.1-7147631-osx Daemon #2: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> AAPT2 aapt2-4.2.1-7147631-osx Daemon #3: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> AAPT2 aapt2-4.2.1-7147631-osx Daemon #4: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> AAPT2 aapt2-4.2.1-7147631-osx Daemon #5: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> AAPT2 aapt2-4.2.1-7147631-osx Daemon #6: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> AAPT2 aapt2-4.2.1-7147631-osx Daemon #7: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> AAPT2 aapt2-4.2.1-7147631-osx Daemon #8: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
Jamie Huson
02/16/2022, 4:44 PMJamie Huson
02/16/2022, 4:45 PMno
02/16/2022, 4:46 PMJamie Huson
02/16/2022, 4:48 PMopenjdk 11.0.12 2021-07-20
OpenJDK Runtime Environment Homebrew (build 11.0.12+0)
OpenJDK 64-Bit Server VM Homebrew (build 11.0.12+0, mixed mode)
Jamie Huson
02/16/2022, 4:48 PMopenjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
OpenJDK 64-Bit Server VM (build 11.0.10+0-b96-7249189, mixed mode)
Jamie Huson
02/16/2022, 4:49 PMJamie Huson
02/16/2022, 4:49 PMJamie Huson
02/16/2022, 4:49 PM~/.gradle
and the local .gradle
inside the repo directoryJamie Huson
02/16/2022, 4:50 PMno
02/16/2022, 5:58 PMDaniel B Duval
02/16/2022, 7:10 PMJamie Huson
02/16/2022, 8:48 PMJamie Huson
02/16/2022, 8:49 PMJamie Huson
02/16/2022, 8:50 PMCarlos Flores
02/16/2022, 8:51 PMJamie Huson
02/16/2022, 8:55 PMDoni
02/25/2022, 9:55 AMganachoco
02/25/2022, 1:18 PMdef osName = System.getProperty("os.name")
def osArch = System.getProperty("os.arch")
def hostOs = ""
def jvmArch = ""
// <https://github.com/openjdk/jdk/blob/ffa34ed42/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java#L68>
switch(osName) {
case { it.startsWith("Windows") }: hostOs = "win32"; break;
case { it.startsWith("Darwin") }: hostOs = "darwin"; break;
case { it.contains("OS X") }: hostOs = "darwin"; break;
default: hostOs = osName.toLowerCase()
}
// <https://github.com/openjdk/jdk/blob/ffa34ed42/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java#L68>
switch(osArch) {
case "i386": jvmArch = "x86"; break;
case "x86_64": jvmArch = "amd64"; break;
default: jvmArch = osArch
}
tag(hostOs)
value("os.name", hostOs)
tag(jvmArch)
value("jvm.arch", jvmArch)
// <https://developer.apple.com/documentation/apple-silicon/about-the-rosetta-translation-environment#Determine-Whether-Your-App-Is-Running-as-a-Translated-Binary>
if (hostOs == "darwin" && ext.execAndGetStdout("sysctl", "sysctl.proc_translated") == "sysctl.proc_translated: 1") {
value("os.proc.translated", "true")
} else {
value("os.proc.translated", "false")
}
Doni
03/01/2022, 11:12 AMJerome Prinet
05/18/2022, 1:07 PM