Skip to content

fix: Remove deprecated package attribute from AndroidManifest.xml for… - #179

Closed
omaralqaseer wants to merge 1 commit into
talsec:masterfrom
omaralqaseer:fix/agp-8x-compatibility-remove-package-attribute
Closed

omaralqaseer wants to merge 1 commit into
talsec:masterfrom
omaralqaseer:fix/agp-8x-compatibility-remove-package-attribute

Conversation

@omaralqaseer

@omaralqaseer omaralqaseer commented Sep 29, 2025 •

Copy link
Copy Markdown

… AGP 8.x compatibility

Removes the deprecated package attribute from AndroidManifest.xml to resolve build failures with Android Gradle Plugin 8.x. The namespace is now properly defined in build.gradle using the namespace property, which is the recommended approach for AGP 8.x and later.

Fixes compatibility issue where the package attribute in AndroidManifest.xml causes build errors in projects using AGP 8.x.

#178

… AGP 8.x compatibility

Removes the deprecated package attribute from AndroidManifest.xml to resolve build failures with Android Gradle Plugin 8.x. The namespace is now properly defined in build.gradle using the namespace property, which is the recommended approach for AGP 8.x and later.

Fixes compatibility issue where the package attribute in AndroidManifest.xml causes build errors in projects using AGP 8.x.
@tompsota

tompsota commented Nov 9, 2026

Copy link
Copy Markdown
Member

Hi @omaralqaseer, thanks for the PR and for writing up #178 in detail.

We couldn't reproduce the build failure. The plugin already sets namespace("com.aheaditec.freerasp") in android/build.gradle and builds against AGP 8.8.1, so on AGP 8.x the manifest package attribute is ignored and at most produces a warning, not an error. The failure you saw may have come from an older cached plugin version or a project-specific AGP setup. If it still happens on the latest freeRASP release, please share your Flutter, AGP and Gradle versions and we'll take another look.

Removing the attribute is still a reasonable cleanup. If we do it, we'd also make the namespace declaration unconditional in build.gradle, so we'll handle it as part of our build-tooling updates.

@tompsota tompsota closed this Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants