You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aar_import outputs a TreeArtifact that represents a directory structure containing Android resources. If the AAR does not have any Android resources, PopulateTreeArtifactAction creates an empty directory. This TreeArtifact is passed to the AndroidResourceProcessingAction. However, the Bazel sandbox does not create the treeartifact directory unless there are files inside to symlink. This causes AndroidResourceProcessingAction to fail.
Note the line: "...external/androidsdk/com.android.support/_aar/unzipped/support-v4-24.0.0 does not exist". This is the TreeArtifact empty directory that should have been created.
The text was updated successfully, but these errors were encountered:
aar_import
outputs a TreeArtifact that represents a directory structure containing Android resources. If the AAR does not have any Android resources, PopulateTreeArtifactAction creates an empty directory. This TreeArtifact is passed to the AndroidResourceProcessingAction. However, the Bazel sandbox does not create the treeartifact directory unless there are files inside to symlink. This causes AndroidResourceProcessingAction to fail.This issue was encountered in #1745 (comment).
Repro case using support-v4-24.0.0.aar that contains an empty resource directory:
Note the line: "...external/androidsdk/com.android.support/_aar/unzipped/support-v4-24.0.0 does not exist". This is the TreeArtifact empty directory that should have been created.
The text was updated successfully, but these errors were encountered: