i have checked custom Gradle Templates as well.
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:packageReleaseBundle’.
java.util.concurrent.ExecutionException: com.android.tools.build.bundletool.exceptions.BundleFileTypesException$FileUsesReservedNameException: File ‘root/AndroidManifest.xml’ uses reserved file or directory name ‘AndroidManifest.xml’.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org