-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I tested on Windows for my project and it works, which is great. However when I moved project to Linux (which I use for dev), I got the following issue with build dependency (AGP plugin part):
Could not isolate parameters com.android.build.gradle.internal.dependency.AarResourcesCompilerTransform$Parameters_Decorated@1b43bcec of artifact transform AarResourcesCompilerTransform
> Could not isolate value com.android.build.gradle.internal.dependency.AarResourcesCompilerTransform$Parameters_Decorated@1b43bcec of type AarResourcesCompilerTransform.Parameters
> Could not resolve all files for configuration ':app:detachedConfiguration2'.
> Failed to transform aapt2-8.9.1-12782657-linux.jar (com.android.tools.build:aapt2:8.9.1-12782657) to match attributes {artifactType=_internal-android-aapt2-binary, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
As per my understanding, since Gradle runs on Windows, it picks up dependencies tailored for my OS and hardware spec, which is bad since it means I can only use dependencies on Windows and probably need to have respective CPU type as where I ran the build.
In order to workaround this, I tried to make Gradle download all dependencies not taking in account OS and CPU but I did not manage to do it so far.
Can I expect Linux and macOs versions in the near future in order to just use them on respective systems to gather all required dependencies?
Metadata
Metadata
Assignees
Labels
No labels