Skip to content

Supporting AGP 4.2.0-alpha07+ #290

@powerserg17-bunch

Description

@powerserg17-bunch

Describe the issue
AGP version 4.2.0-alpha07+ fails with

Execution failed for task ':sdk-android:processReleaseManifest'.
> java.io.FileNotFoundException: /Users/powerserg/merging/sdk-android/build/intermediates/library_manifest/release/AndroidManifest.xml (No such file or directory)

AndroidManifest.xml is found in${mProject.buildDir.path}/intermediates/merged_manifest/${mVariant.name}/AndroidManifest.xml instead of ${mProject.buildDir.path}/intermediates/library_manifest/${mVariant.name}/AndroidManifest.xml.

Copying the entire plugin into buildSrc and manually changing the manifestOutput completely fixes the issue.
Found this issue, not sure if that's related, unfortunately I don't have supporting references to the changes in the AGP to tell that my solution is 100% appropriate. Please advise. Thank you.

Build Environment

  • Operating System: MacOS
  • Gradle Plugin Version: 4.2.0-beta06
  • Gradle Version: 6.7.1
  • Fat-aar Version: 1.3.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions