Closed jirkapinus closed 2 years ago
Hello jirkapinus, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will investigate the issue and help solve it ASAP. Other community members may also look into the issue and provide feedback 🙌
Or PWA Builder does this screen and package cannot download.
As the error message states, the issue is that your package name is an invalid Android package name:
AAPT: error: attribute 'package' in tag is not a valid Android package name: 'cz.slunecno.2.m.twa'.
The issue there is that each section separated by period cannot begin with a number.
Change your package name to something like cz.slunecno.m.twa
(just omit the '2'). Then it should work. Give it a try.
In the meantime, we'll update our validation code to ensure this can't happen.
thank you now it works
closed
I received the following error when generating a package for https://m.slunecno.cz
Error: Error generating Android package. Status code: 500 Error: Internal Server Error Details: Error generating app package: Command failed: ./gradlew assembleRelease --stacktrace
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:processReleaseResources'.
/tmp/pwabuilder-cloudapk--26-jWpu2XX40Zll/app/build/intermediates/packaged_manifests/release/AndroidManifest.xml:45: AAPT: error: attribute 'android:name' in tag must be a valid Java class name.
/tmp/pwabuilder-cloudapk--26-jWpu2XX40Zll/app/build/intermediates/packaged_manifests/release/AndroidManifest.xml:69: AAPT: error: attribute 'android:name' in tag must be a valid Java class name.
/tmp/pwabuilder-cloudapk--26-jWpu2XX40Zll/app/build/intermediates/packaged_manifests/release/AndroidManifest.xml:145: AAPT: error: attribute 'android:name' in tag must be a valid Java class name.
Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:processReleaseResources'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:207) at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:205) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter