Giter Site home page Giter Site logo

Comments (13)

apramana avatar apramana commented on August 25, 2024 3

I upgraded to 3.0.7, and I'm still seeing the error. Anyone else?

@martymiller Your project might have another dependency that is pulling in an older version of the lifecycle dependency that isn't getting resolved to the new one for some reason. Try running ./gradlew :app:dependencies > report.txt and look for old versions of lifecycle-common - for me it was from androidx.test.espresso:espresso-contrib.

from mavericks.

elihart avatar elihart commented on August 25, 2024 2

3.0.7 is released. sorry for the delay

from mavericks.

martymiller avatar martymiller commented on August 25, 2024 1

I upgraded to 3.0.7, and I'm still seeing the error. Anyone else?

from mavericks.

apramana avatar apramana commented on August 25, 2024 1

@apramana I ran ./gradlew :app:dependencies and correct me if I'm wrong, I'm still seeing an older version of lifecycle-common being used somewhere in the Mavericks lib:

@alvindizon it looks like there are some dependencies between mavericks and lifecycle-common (i.e. androidx.activity -> androidx.core -> lifecycle-runtime) that are not on the latest version. In retrospect I should have also updated those in Mavericks, but you can also bump them in your own project.

from mavericks.

ujffdi avatar ujffdi commented on August 25, 2024

The mavericks version is 3.0.2

from mavericks.

alvindizon avatar alvindizon commented on August 25, 2024

Seeing the same issue as well. Project can still be built though

from mavericks.

alvindizon avatar alvindizon commented on August 25, 2024

Any updates for this?

from mavericks.

apramana avatar apramana commented on August 25, 2024

I opened a PR to address this, but please feel free to close it if this is already in progress upstream.

from mavericks.

alvindizon avatar alvindizon commented on August 25, 2024

Any updates on this?

from mavericks.

apramana avatar apramana commented on August 25, 2024

@rossbacher or @elihart when you have a chance, please review the PR to update dependencies.

from mavericks.

martymiller avatar martymiller commented on August 25, 2024

Really hoping you guys release v3.0.7 soon, so these compilation errors clear up. I see the PR is merged. Thanks!

from mavericks.

martymiller avatar martymiller commented on August 25, 2024

@apramana That did the trick. Thanks!

from mavericks.

alvindizon avatar alvindizon commented on August 25, 2024

@apramana I ran ./gradlew :app:dependencies and correct me if I'm wrong, I'm still seeing an older version of lifecycle-common being used somewhere in the Mavericks lib:

+--- com.airbnb.android:mavericks-testing:3.0.7
|    +--- com.airbnb.android:mavericks-mocking:3.0.7
|    |    +--- com.airbnb.android:mavericks:3.0.7
|    |    |    +--- com.airbnb.android:mavericks-common:3.0.7
|    |    |    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:{require 1.6.4; reject _} -> 1.7.3
|    |    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.20 -> 1.9.10
|    |    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.20 -> 1.8.22
|    |    |    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.22
|    |    |    |    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.22 -> 1.9.10
|    |    |    |    |    |    |    \--- org.jetbrains:annotations:13.0
|    |    |    |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.22
|    |    |    |    |    |         \--- org.jetbrains.kotlin:kotlin-stdlib:1.8.22 (*)
|    |    |    |    |    \--- org.jetbrains.kotlinx:atomicfu:0.21.0
|    |    |    |    |         \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.20 -> 1.9.10
|    |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22 (*)
|    |    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:{require 1.6.4; reject _} -> 1.7.3 (*)
|    |    |    +--- androidx.activity:activity:{require 1.5.1; reject _} -> 1.5.1
|    |    |    |    +--- androidx.annotation:annotation:1.1.0 -> 1.2.0
|    |    |    |    +--- androidx.core:core:1.8.0
|    |    |    |    |    +--- androidx.annotation:annotation:1.2.0
|    |    |    |    |    +--- androidx.annotation:annotation-experimental:1.1.0
|    |    |    |    |    +--- androidx.lifecycle:lifecycle-runtime:2.3.1 -> 2.5.1
|    |    |    |    |    |    +--- androidx.annotation:annotation:1.1.0 -> 1.2.0
|    |    |    |    |    |    +--- androidx.arch.core:core-common:2.1.0 -> 2.2.0 (*)
|    |    |    |    |    |    \---androidx.lifecycle:lifecycle-common:2.5.1

from mavericks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.