Description
When building the Dual Screen example project with the latest Android Gradle Plugin (AGP 8+), the build fails due to:
- The use of the deprecated
package attribute in AndroidManifest.xml
- An outdated AGP configuration in
build.gradle
AGP 8+ requires that the package name be defined in Gradle using the namespace property for source code and applicationId for the APK. Keeping the package in the manifest causes a build error.
Steps to Reproduce
- Clone the repository
- Upgrade Flutter to the latest stable
- Open
android folder in Android Studio
- Build the project using AGP 8+
- Observe build failure with error regarding
package attribute