https://kotlinlang.org logo
#coroutines
Title
# coroutines
a

ansman

07/25/2019, 2:29 PM
It does seem to be a tooling issue so perhaps it should be reported to the Android team
m

mbonnin

07/25/2019, 2:30 PM
Can you somehow reproduce it ?
a

ansman

07/25/2019, 2:31 PM
It’s very sporadic. When I get it happens until I shuffle things around in the build scripts
m

mbonnin

07/25/2019, 2:31 PM
But is it bound to an apk? Like once you have it, it happens forever on that same apk ?
a

ansman

07/25/2019, 2:31 PM
Yeah, exactly
It does seem like the service loader file isn’t packaged in the APK for those builds
m

mbonnin

07/25/2019, 2:33 PM
That's weird. It's going to be hard to investigate if there's no way to reproduce it. Maybe if you come up with a few command lines that can reproduce the problem ?
a

ansman

07/25/2019, 2:33 PM
Yeah, I wish I could reproduce it
m

mbonnin

07/25/2019, 2:33 PM
Actually, does it happen if you build from the command line ? That might be an idea/Android Studio thing as well
a

ansman

07/25/2019, 2:34 PM
Yes, it happens for our release builds too which are built from the command line
It does seem to be fixed if I switch my
implementation
to
api
I just did a super clean, removing cache. Let’s see if it happens still
It does only happen for me
Fingers crossed that this solved the issue
🤞 1
I fixed it by clearing the build cache
👍 1
3 Views