Skip to content
New issue

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

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

Already on GitHub? # to your account

App with code cannot contain Watch Face Format #374

Open
Turtlepaw opened this issue Sep 6, 2024 · 1 comment
Open

App with code cannot contain Watch Face Format #374

Turtlepaw opened this issue Sep 6, 2024 · 1 comment

Comments

@Turtlepaw
Copy link

Describe the bug
Hi, I have an app ("Animals") on the Play Store, and I'd like to add a watch face to it, preferably using Watch Face Format, and I attempted to upload the version with the watch face included, but encountered the following error:

An error occurred while running bundletool build-apks on your uploaded App Bundle. Ensure that your App Bundle is valid by running bundletool build-apks locally and try again. Learn more. Error: Watch face base module cannot have any components and can only have resources.

The code to my app is open-source (github.com) if you'd like to review it.

Bundletool version(s) affected
Version: >=1.15.0

Stacktrace

An error occurred while running bundletool build-apks on your uploaded App Bundle. Ensure that your App Bundle is valid by running bundletool build-apks locally and try again. Learn more. Error: Watch face base module cannot have any components and can only have resources.

To Reproduce

  1. Create an app with executable code and Watch Face Format
  2. Upload to Play or use bundletool

Expected behavior
The app should be able to have a watch face using Watch Face Format.

Known workaround
There is currently no workaround.

Environment:
OS: Windows 11

Additional context
This issue occurs when uploading to the Play Store.

@garanj
Copy link

garanj commented Sep 24, 2024

This is the current expected behavior for Watch Face Format: Bundles containing Watch Face Format watch faces cannot also contain any code.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants