Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Test your tile on a device not working #11

Open
mdance opened this issue Jun 7, 2023 · 3 comments
Open

Test your tile on a device not working #11

mdance opened this issue Jun 7, 2023 · 3 comments

Comments

@mdance
Copy link

mdance commented Jun 7, 2023

I am receiving the following build error:

Class 'DefaultTileService' is not abstract and does not implement abstract base class member public abstract val lifecycle: Lifecycle defined in com.google.android.horologist.tiles.CoroutinesTileService

@ybbarng
Copy link

ybbarng commented Jun 10, 2023

Same here.

@mdance
Copy link
Author

mdance commented Jun 10, 2023

I updated the horologist dependencies to the latest version to resolve this issue

@ybbarng
Copy link

ybbarng commented Jun 11, 2023

When I use androidx.lifecycle:lifecycle-runtime-ktx to 1.5.1 or older, this bug is fixed.
If I use 1.6.0 or newer, this bug is reproduced.

Some other dependencies also make it force to be new version which makes build failed.
ex)

  • androidx.lifecycle:lifecycle-runtime-ktx
    • 1.5.1 or older: fine
    • 1.6.0 or newer: error
  • androidx.activity:activity-ktx
    • 1.7.2: error

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

No branches or pull requests

2 participants