Need help dealing with a Fatal Exception caused by java.lang.IncompatibleClassChangeError

后端 未结 1 1727
醉话见心
醉话见心 2021-01-12 06:04

So, I ran into this error just yesterday in Android Studio that I\'ve never seen before, caused by a piece of code that hasn\'t been touched over the past 3 months. This cam

相关标签:
1条回答
  • 2021-01-12 06:32

    update may 27:

    we just released an update (version 9.0.1) to fix the incompatibility I mentioned in my first edit.
    Please update your dependencies and let us know if this is still an issue.

    Thanks!


    original answer May 20:

    The issue you are experiencing is due to an incompatibility between
    play-services / firebase sdk v9.0.0 and com.android.support:appcompat-v7 >= 24
    (the version released with android-N sdk)

    You should be able to fix it by targeting an earlier version of the support library. Like:

    compile 'com.android.support:appcompat-v7:23.4.0'
    
    0 讨论(0)
提交回复
热议问题