scala-android / sbt-android-protify

Live-coding and hot-deploy for Android
Apache License 2.0
136 stars 8 forks source link

Found interface but class was expected #19

Closed maciek252 closed 8 years ago

maciek252 commented 8 years ago

I get the following error when trying to run sbt. Sbt version 0.13.12, the latest java 8.

[error] java.lang.IncompatibleClassChangeError: Found interface scalaz.Memo, but class was expected

What is the cause? I can find that such errors usually mean that a part of the code has been compiled with another version of gradle? java?

I try to add protify to a running and compilable android app.

pfn commented 8 years ago

Everything needs to be on latest versions because of the scalaz bincompat update

On Tue, Sep 13, 2016, 7:59 AM Maciej Szreter notifications@github.com wrote:

I get the following error when trying to run sbt. Sbt version 0.13.12, the latest java 8.

[error] java.lang.IncompatibleClassChangeError: Found interface scalaz.Memo, but class was expected

What is the cause? I can find that such errors usually mean that a part of the code has been compiled with another version of gradle? java?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/scala-android/sbt-android-protify/issues/19, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfQxeLckUniWqMR-VU2VQ-ALcGlpREXks5qpro8gaJpZM4J7xkj .

maciek252 commented 8 years ago

After removing .ivy2 and .sbt directories from my home directory, and doing several attempts everything compiles at last, thanks!

pfn commented 8 years ago

That's a bit overkill. Probably had an older version of sbt-android in Global

On Wed, Sep 14, 2016, 5:38 AM Maciej Szreter notifications@github.com wrote:

Closed #19 https://github.com/scala-android/sbt-android-protify/issues/19.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/scala-android/sbt-android-protify/issues/19#event-789066917, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfQxSMpBODyABZY2TIQ85ROyWPOmxRUks5qp-q_gaJpZM4J7xkj .