Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting AGP 4.2.0-alpha07+ #290

Closed
powerserg17-bunch opened this issue Apr 6, 2021 · 1 comment
Closed

Supporting AGP 4.2.0-alpha07+ #290

powerserg17-bunch opened this issue Apr 6, 2021 · 1 comment
Labels
good first issue Good for newcomers

Comments

@powerserg17-bunch
Copy link
Contributor

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
@kezong
Copy link
Owner

kezong commented Apr 7, 2021

Good job, Thanks for feedback.
This is not a big change, I hope you can pull request for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants