Skip to content

"Unable to resolve dependency" error when runtime is not build #1309

@vtrifonov

Description

@vtrifonov

When you open the test-app from the project in android studio and you haven't built the runtime project and run gradle sync you'll get:

ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Failed to transform file 'runtime-regular-release.aar' to match attributes {artifactType=processed-aar} using transform IdentityTransform
Show Details
Affected Modules: app

ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Failed to transform file 'runtime-regular-release.aar' to match attributes {artifactType=processed-aar} using transform IdentityTransform
Show Details
Affected Modules: app

ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Failed to transform file 'runtime-regular-release.aar' to match attributes {artifactType=processed-aar} using transform IdentityTransform
Show Details
Affected Modules: app

ERROR: Unable to resolve dependency for ':app@release/compileClasspath': Failed to transform file 'runtime-regular-release.aar' to match attributes {artifactType=processed-aar} using transform IdentityTransform
Show Details
Affected Modules: app

ERROR: Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Failed to transform file 'runtime-regular-release.aar' to match attributes {artifactType=processed-aar} using transform IdentityTransform
Show Details
Affected Modules: app

After building the runtime project the errors disappear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions