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

With Kotlin's 1.4+ update the Fotoapparat's build() function crashes with error: #408

Open
AndyAls opened this issue Sep 27, 2020 · 3 comments

Comments

@AndyAls
Copy link

AndyAls commented Sep 27, 2020

No description provided.

@AndyAls
Copy link
Author

AndyAls commented Sep 27, 2020

2020-08-24 10:57:08.883 7440-7440  E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com., PID: 7440
    java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/coroutines/experimental/CoroutineContext$Element;
        at io.fotoapparat.Fotoapparat.<init>(Fotoapparat.kt:55)
        at io.fotoapparat.Fotoapparat.<init>(Fotoapparat.kt:48)
        at io.fotoapparat.FotoapparatBuilder.buildInternal(FotoapparatBuilder.kt:191)
        at io.fotoapparat.FotoapparatBuilder.build(FotoapparatBuilder.kt:180)

@WhiteYaksha
Copy link

WhiteYaksha commented Oct 5, 2020

I have exactly the same error

EDIT: Finally went back to Kotlin 1.3.30 and Fotoapparat 2.7.0, it's working again

@AndyAls
Copy link
Author

AndyAls commented Oct 9, 2020

I upgraded to 2.7.0 and the problem is solved

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